Skip to content

Commit e1f93a3

Browse files
committed
Update Dockerfile
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent c753c78 commit e1f93a3

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ENV GOOS linux
1515
RUN go get -v ./...
1616
RUN go build -a -installsuffix cgo -ldflags '-w -extldflags "-static"' -o /go/bin/slack-notify .
1717

18-
# alpine:latest at 2020-01-18T01:19:37.187497623Z
19-
FROM alpine@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
18+
# alpine:latest at 2023-08-23T11:48:25.468623934UTC
19+
FROM alpine@sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a
2020

2121
COPY --from=builder /go/bin/slack-notify /usr/bin/slack-notify
2222

@@ -25,14 +25,14 @@ ENV VAULT_VERSION 1.0.2
2525
RUN apk update \
2626
&& apk upgrade \
2727
&& apk add \
28-
bash \
29-
jq \
30-
ca-certificates \
31-
python \
32-
py2-pip \
33-
rsync && \
34-
pip install shyaml && \
35-
rm -rf /var/cache/apk/*
28+
bash \
29+
jq \
30+
ca-certificates \
31+
python3 \
32+
py3-pip \
33+
rsync \
34+
&& pip3 install shyaml \
35+
&& rm -rf /var/cache/apk/*
3636

3737
# Setup Vault
3838
RUN wget https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip && \

0 commit comments

Comments
 (0)