Compare commits
2 commits
7d4bf03a62
...
f7284580d8
Author | SHA1 | Date | |
---|---|---|---|
f7284580d8 | |||
1d0795d69f |
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/golang:1.21.5 AS build
|
||||
FROM docker.io/golang:1.22.0-alpine AS build
|
||||
WORKDIR /src
|
||||
# create a cache
|
||||
COPY go.* /src/
|
||||
|
@ -9,5 +9,5 @@ RUN CGO_ENABLED=0 go build -o /scaleway-delete-image-plugin .
|
|||
|
||||
FROM alpine:3.19
|
||||
RUN apk -Uuv add curl ca-certificates
|
||||
COPY --from=build /src/scaleway-delete-image-plugin /scaleway-delete-image-plugin
|
||||
COPY --from=build /scaleway-delete-image-plugin /scaleway-delete-image-plugin
|
||||
ENTRYPOINT /scaleway-delete-image-plugin
|
||||
|
|
Loading…
Reference in a new issue