chore(deps): atlantis-base: Update gosu and git-lfs (#2889)

* docker: bump debian baseimage version

* docker: update gosu from 1.14 to 1.16

* docker: update git-lfs from 3.1.2 to 3.3.0

* docker: update curl from 7.86.0-r1 to 7.87.0-r0

* docker: update bash from 5.2.12-r0 to 5.2.15-r0

* docker: remove enclosing folder at git-lfs extraction

* docker: update ca-certificates from 20220614-r2 to 20220614-r3
This commit is contained in:
Teko
2022-12-29 16:38:02 +01:00
committed by GitHub
parent f09a9d4c01
commit a55bd2cc12
2 changed files with 10 additions and 10 deletions

View File

@@ -18,19 +18,19 @@ RUN addgroup atlantis && \
chmod g=u /etc/passwd
# Install gosu and git-lfs.
ENV GOSU_VERSION=1.14
ENV GIT_LFS_VERSION=3.1.2
ENV GOSU_VERSION=1.16
ENV GIT_LFS_VERSION=3.3.0
# Automatically populated with the architecture the image is being built for.
ARG TARGETPLATFORM
# Install packages needed for running Atlantis.
RUN apk add --no-cache \
ca-certificates=20220614-r2 \
curl=7.86.0-r1 \
ca-certificates=20220614-r3 \
curl=7.87.0-r0 \
git=2.38.2-r0 \
unzip=6.0-r13 \
bash=5.2.12-r0 \
bash=5.2.15-r0 \
openssh=9.1_p1-r1 \
libcap=2.66-r0 \
dumb-init=1.2.5-r2 \
@@ -48,7 +48,7 @@ RUN apk add --no-cache \
"linux/arm/v7") GIT_LFS_ARCH=arm ;; \
esac && \
curl -L -s --output git-lfs.tar.gz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${GIT_LFS_ARCH}-v${GIT_LFS_VERSION}.tar.gz" && \
tar -xf git-lfs.tar.gz && \
tar --strip-components=1 -xf git-lfs.tar.gz && \
chmod +x git-lfs && \
mv git-lfs /usr/bin/git-lfs && \
git-lfs --version && \

View File

@@ -1,7 +1,7 @@
# This Dockerfile builds our base image with gosu, dumb-init and the atlantis
# user. We split this from the main Dockerfile because this base doesn't change
# and also because it kept breaking the build due to flakiness.
FROM debian:bullseye-20221205-slim
FROM debian:bullseye-20221219-slim
# We use gosu to step down from root and run as the atlantis user so we need
# to create that user and group.
@@ -16,8 +16,8 @@ RUN useradd --create-home --user-group --shell /bin/bash atlantis && \
chmod g=u /etc/passwd
# Install gosu and git-lfs.
ENV GOSU_VERSION=1.14
ENV GIT_LFS_VERSION=3.1.2
ENV GOSU_VERSION=1.16
ENV GIT_LFS_VERSION=3.3.0
# Automatically populated with the architecture the image is being built for.
ARG TARGETPLATFORM
@@ -46,7 +46,7 @@ RUN apt-get update \
"linux/arm/v7") GIT_LFS_ARCH=arm ;; \
esac && \
curl -L -s --output git-lfs.tar.gz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-${GIT_LFS_ARCH}-v${GIT_LFS_VERSION}.tar.gz" && \
tar -xf git-lfs.tar.gz && \
tar --strip-components=1 -xf git-lfs.tar.gz && \
chmod +x git-lfs && \
mv git-lfs /usr/bin/git-lfs && \
git-lfs --version && \