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

Commit

Permalink
bump to curl 7.86.0 + alpine 3,16,2
Browse files Browse the repository at this point in the history
  • Loading branch information
xquery committed Oct 26, 2022
1 parent 57413e2 commit 4933592
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#***************************************************************************


export LATEST_RELEASE_VERSION=7_85_0
export LATEST_RELEASE_VERSION=7_86_0
export LATEST_RELEASE_TAG=curl-${LATEST_RELEASE_VERSION}
export DOCKER_CLI_EXPERIMENTAL=enabled

Expand Down
10 changes: 5 additions & 5 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.15.4
# pinning builder image to Alpine 3.16.2
###############################################################
FROM registry.hub.docker.com/library/alpine:3.15.4 AS builder
FROM registry.hub.docker.com/library/alpine:3.16.2 AS builder

###############################################################
# set build args
Expand Down Expand Up @@ -51,9 +51,9 @@ RUN ./buildconf && \
make DESTDIR="/alpine/" install -j$(nproc)

###############################################################
# pinning image to Alpine 3.15.4
# pinning image to Alpine 3.16.2
###############################################################
FROM registry.hub.docker.com/library/alpine:3.15.4
FROM registry.hub.docker.com/library/alpine:3.16.2

ARG CURL_RELEASE_TAG=latest
ARG CURL_RELEASE_VERSION
Expand All @@ -69,7 +69,7 @@ ENV CURL_GIT_REPO ${CURL_GIT_REPO}
LABEL Maintainer="James Fuller <[email protected]>"
LABEL Name="curl"
LABEL Version="${LABEL_VERSION}"
LABEL docker.cmd="docker run -it curl/curl:7.85.0 -s -L http://curl.se"
LABEL docker.cmd="docker run -it curl/curl:7.86.0 -s -L http://curl.se"

###############################################################
# dependencies
Expand Down
8 changes: 4 additions & 4 deletions alpine/latest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ build:
docker build ${DOCKER_BUILD_OPTS} ${DOCKER_BUILD_ARGS} -t "curl/curl:${LATEST_RELEASE_VERSION}" -f Dockerfile .

multibuild:
docker buildx build ${DOCKER_BUILD_OPTS} ${DOCKER_BUILD_ARGS} -t "curlimages/curl:7.85.0" --platform=${DOCKER_MULTI_ARCH} -f Dockerfile . --push
docker buildx imagetools create docker.io/curlimages/curl:7.85.0 --tag curlimages/curl:latest
docker buildx build ${DOCKER_BUILD_OPTS} ${DOCKER_BUILD_ARGS} -t "curlimages/curl:7.86.0" --platform=${DOCKER_MULTI_ARCH} -f Dockerfile . --push
docker buildx imagetools create docker.io/curlimages/curl:7.86.0 --tag curlimages/curl:latest

lint:
docker run --rm --privileged -v ${PWD}:/root/ projectatomic/dockerfile-lint dockerfile_lint -p -f Dockerfile
Expand All @@ -13,8 +13,8 @@ test:
docker run --rm curl/curl:${LATEST_RELEASE_VERSION} -S http://httpbin.org/get

push-registry:
docker tag curl/curl:${LATEST_RELEASE_VERSION} curlimages/curl:7.85.0
docker push curlimages/curl:7.85.0
docker tag curl/curl:${LATEST_RELEASE_VERSION} curlimages/curl:7.86.0
docker push curlimages/curl:7.86.0
docker tag curl/curl:${LATEST_RELEASE_VERSION} curlimages/curl:latest
docker push curlimages/curl:latest

Expand Down

0 comments on commit 4933592

Please sign in to comment.