diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-11 18:18:39 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-11 18:18:39 -0700 |
commit | 722389e918af9c44fba6ec658f576b5838661179 (patch) | |
tree | c20ce64b7c262a127d1b16174db3ec2a0ff7e8ef /tools/govanity/Dockerfile | |
parent | README: update documentation (diff) | |
download | world-722389e918af9c44fba6ec658f576b5838661179.tar.gz |
Dockerfile: update steps
Diffstat (limited to 'tools/govanity/Dockerfile')
-rw-r--r-- | tools/govanity/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/govanity/Dockerfile b/tools/govanity/Dockerfile index eb6b8db..20df29f 100644 --- a/tools/govanity/Dockerfile +++ b/tools/govanity/Dockerfile @@ -20,11 +20,11 @@ ADD . /src RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app . FROM scratch -COPY --from=builder /src/app /govanity +COPY --from=builder /src/app /vanity COPY --from=builder /src/vanity.yaml /vanity.yaml COPY --from=builder /etc/passwd /etc/passwd COPY --from=builder /etc/group /etc/group USER app:app -ENTRYPOINT ["/govanity"] +ENTRYPOINT ["/vanity"] |