Skip to content

Commit 0df2646

Browse files
nitrocodekrrrr38
authored andcommitted
Bump alpine-3.17 (runatlantis#2768)
1 parent e139440 commit 0df2646

File tree

3 files changed

+16
-14
lines changed

3 files changed

+16
-14
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ atlantis.env
2020
# gitreleaser
2121
dist/
2222
tmp-CHANGELOG.md
23+
24+
.envrc

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: build artifact
2-
FROM golang:1.19.3-alpine AS builder
2+
FROM golang:1.19.4-alpine AS builder
33

44
WORKDIR /app
55
COPY . /app
@@ -8,7 +8,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
88
CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -v -o atlantis .
99

1010
# Stage 2
11-
# The runatlantis/atlantis-base is created by docker-base/Dockerfile.
11+
# The runatlantis/atlantis-base is created by docker-base/Dockerfile
1212
FROM ghcr.io/runatlantis/atlantis-base:2022.12.05 AS base
1313

1414
# Get the architecture the image is being built for

docker-base/Dockerfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This Dockerfile builds our base image with gosu, dumb-init and the atlantis
22
# user. We split this from the main Dockerfile because this base doesn't change
33
# and also because it kept breaking the build due to flakiness.
4-
FROM alpine:3.16.3
4+
FROM alpine:3.17.0
55
LABEL authors="Anubhav Mishra, Luke Kysow"
66

77
# We use gosu to step down from root and run as the atlantis user so we need
@@ -26,19 +26,19 @@ ARG TARGETPLATFORM
2626

2727
# Install packages needed for running Atlantis.
2828
RUN apk add --no-cache \
29-
ca-certificates=20220614-r0 \
30-
curl=7.83.1-r4 \
31-
git=2.36.3-r0 \
32-
unzip=6.0-r9 \
33-
bash=5.1.16-r2 \
34-
openssh=9.0_p1-r2 \
35-
libcap=2.64-r0 \
36-
dumb-init=1.2.5-r1 \
37-
gcompat=1.0.0-r4 && \
29+
ca-certificates=20220614-r2 \
30+
curl=7.86.0-r1 \
31+
git=2.38.1-r0 \
32+
unzip=6.0-r13 \
33+
bash=5.2.12-r0 \
34+
openssh=9.1_p1-r1 \
35+
libcap=2.66-r0 \
36+
dumb-init=1.2.5-r2 \
37+
gcompat=1.1.0-r0 && \
3838
# Install packages needed for building dependencies.
3939
apk add --no-cache --virtual .build-deps \
40-
gnupg=2.2.35-r4 \
41-
openssl=1.1.1s-r0 && \
40+
gnupg=2.2.40-r0 \
41+
openssl=3.0.7-r0 && \
4242
mkdir -p /tmp/build && \
4343
cd /tmp/build && \
4444
# git-lfs

0 commit comments

Comments
 (0)