update dockerfiles

This commit is contained in:
Andras Bacsai
2023-06-13 11:33:08 +02:00
parent ff4eed5342
commit dfe183d4fc
4 changed files with 11 additions and 11 deletions

View File

@@ -2,19 +2,19 @@ FROM alpine:3.17
ARG TARGETPLATFORM
# https://download.docker.com/linux/static/stable/
ARG DOCKER_VERSION=23.0.5
ARG DOCKER_VERSION=24.0.2
# https://github.com/docker/compose/releases
ARG DOCKER_COMPOSE_VERSION=2.17.3
ARG DOCKER_COMPOSE_VERSION=2.19.1
# https://github.com/docker/buildx/releases
ARG DOCKER_BUILDX_VERSION=0.10.4
ARG DOCKER_BUILDX_VERSION=0.10.5
# https://github.com/buildpacks/pack/releases
ARG PACK_VERSION=0.29.0
# https://github.com/railwayapp/nixpacks/releases
ARG NIXPACKS_VERSION=1.6.1
ARG NIXPACKS_VERSION=1.9.0
USER root
WORKDIR /root
RUN apk add --no-cache bash curl git git-lfs openssh-client openssh-server tar tini
RUN apk add --no-cache bash curl git git-lfs openssh-client openssh-server tar tini postgresql-client
RUN mkdir -p ~/.docker/cli-plugins
RUN if [[ ${TARGETPLATFORM} == 'linux/amd64' ]]; then \
curl -sSL https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 -o ~/.docker/cli-plugins/docker-buildx && \