Исправил dockerfile. INF-1541
This commit is contained in:
parent
d8df5178dc
commit
6004e090e5
|
@ -9,8 +9,11 @@ RUN GOOS=linux go build -ldflags="-s -w" -o ./bin/vault-wrap ./vault.go
|
||||||
FROM alpine:3.20
|
FROM alpine:3.20
|
||||||
RUN apk add tzdata
|
RUN apk add tzdata
|
||||||
#RUN apk --no-cache add ca-certificates
|
#RUN apk --no-cache add ca-certificates
|
||||||
RUN mkdir -p /usr/local/share/vault-wrap && mkdir -p
|
|
||||||
|
RUN mkdir -p /usr/local/share/vault-wrap && mkdir -p /var/log/vault-wrap
|
||||||
|
|
||||||
WORKDIR /usr/bin
|
WORKDIR /usr/bin
|
||||||
|
|
||||||
COPY --from=build /go/src/app/bin /go/bin
|
COPY --from=build /go/src/app/bin /go/bin
|
||||||
|
|
||||||
# COPY cronjobs /etc/crontabs/root
|
# COPY cronjobs /etc/crontabs/root
|
||||||
|
|
Loading…
Reference in New Issue
Block a user