We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a8970 commit 0d712e4Copy full SHA for 0d712e4
Dockerfile
@@ -12,8 +12,7 @@ COPY main.go ${GOPATH}/src/github.com/rtcamp/action-slack-notify
12
ENV CGO_ENABLED 0
13
ENV GOOS linux
14
15
-RUN go get -v ./...
16
-RUN go build -a -installsuffix cgo -ldflags '-w -extldflags "-static"' -o /go/bin/slack-notify .
+RUN go build -a -installsuffix cgo -ldflags '-w -extldflags "-static"' -o /go/bin/slack-notify main.go
17
18
# alpine:latest as of 2024-03-11
19
FROM alpine@sha256:6457d53fb065d6f250e1504b9bc42d5b6c65941d57532c072d929dd0628977d0
@@ -31,7 +30,7 @@ RUN apk update \
31
30
python3 \
32
py3-pip \
33
rsync \
34
- && pip3 install shyaml \
+ && python3 -m pip install --break-system-packages shyaml \
35
&& rm -rf /var/cache/apk/*
36
37
# Setup Vault
0 commit comments