Skip to content

Commit 34a3885

Browse files
hi-artemkrrrr38
authored andcommitted
docker: bump git-lfs and gosu dependencies (runatlantis#2096)
1 parent fd732f4 commit 34a3885

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docker-base/Dockerfile

+8-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,19 @@ RUN addgroup atlantis && \
1717
chmod g=u /home/atlantis/ && \
1818
chmod g=u /etc/passwd
1919

20-
# Install dumb-init and gosu.
20+
# Install dumb-init, gosu and git-lfs.
2121
ENV DUMB_INIT_VERSION=1.2.5
22-
ENV GOSU_VERSION=1.12
23-
RUN apk add --no-cache ca-certificates gnupg curl git git-lfs unzip bash openssh libcap openssl && \
22+
ENV GOSU_VERSION=1.14
23+
ENV GIT_LFS_VERSION=3.1.2
24+
RUN apk add --no-cache ca-certificates gnupg curl git unzip bash openssh libcap openssl && \
2425
curl -L -s --output /bin/dumb-init "https://github.com/Yelp/dumb-init/releases/download/v${DUMB_INIT_VERSION}/dumb-init_${DUMB_INIT_VERSION}_x86_64" && \
2526
chmod +x /bin/dumb-init && \
2627
mkdir -p /tmp/build && \
2728
cd /tmp/build && \
29+
curl -L -s --output git-lfs.tar.gz "https://github.com/git-lfs/git-lfs/releases/download/v${GIT_LFS_VERSION}/git-lfs-linux-amd64-v${GIT_LFS_VERSION}.tar.gz" && \
30+
tar -xf git-lfs.tar.gz && \
31+
chmod +x git-lfs && \
32+
mv git-lfs /usr/bin/git-lfs && \
2833
curl -L -s --output gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" && \
2934
curl -L -s --output gosu.asc "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64.asc" && \
3035
for server in $(shuf -e ipv4.pool.sks-keyservers.net \

0 commit comments

Comments
 (0)