Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Alpine 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
J0WI authored Dec 22, 2020
1 parent 5960413 commit da8d5e8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions alpine/latest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#
# SPDX-License-Identifier: MIT
#
# pinning builder image to Alpine 3.11.5
# pinning builder image to Alpine 3.12.3
###############################################################
FROM registry.hub.docker.com/library/alpine:3.11.5 AS builder
FROM registry.hub.docker.com/library/alpine:3.12.3 AS builder

###############################################################
# set build args
Expand All @@ -30,13 +30,13 @@ RUN apk --update add libssh2 libssh2-dev libssh2-static \
nghttp2

RUN mkdir /src
COPY "curl" "/src/curl"
COPY "curl" "/src/curl"
WORKDIR /src/curl

###############################################################
# get ca cert bundle from curl.haxx.se
###############################################################
RUN curl https://curl.haxx.se/ca/cacert.pem -o /cacert.pem
RUN curl https://curl.haxx.se/ca/cacert.pem -o /cacert.pem

###############################################################
# build the tag version
Expand All @@ -46,12 +46,12 @@ RUN ./buildconf && \
./configure ${CURL_CONFIGURE_OPTION} &&\
make -j$(nproc) &&\
#make test &&\
make DESTDIR="/alpine/" install -j$(nproc)
make DESTDIR="/alpine/" install -j$(nproc)

###############################################################
# pinning image to Alpine 3.11.5
###############################################################
FROM registry.hub.docker.com/library/alpine:3.11.5
FROM registry.hub.docker.com/library/alpine:3.12.3

ARG CURL_RELEASE_TAG=latest
ARG CURL_RELEASE_VERSION
Expand Down

0 comments on commit da8d5e8

Please sign in to comment.