Skip to content

Commit de77a72

Browse files
committed
Fixes error with rootless oci image for api where vulndb was not possible
Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
1 parent c999523 commit de77a72

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ FROM gcr.io/distroless/static-debian12:nonroot@sha256:cdf4daaf154e3e27cfffc799c1
2828

2929
USER 53111
3030

31-
WORKDIR /
31+
WORKDIR /app
3232

33-
COPY --chown=53111:53111 config/rbac_model.conf /config/rbac_model.conf
33+
COPY --chown=53111:53111 config/rbac_model.conf /app/config/rbac_model.conf
3434
COPY --chown=53111:53111 --from=build /go/src/app/devguard /usr/local/bin/devguard
3535
COPY --chown=53111:53111 --from=build /go/src/app/devguard-cli /usr/local/bin/devguard-cli
36-
COPY --chown=53111:53111 templates /templates
37-
COPY --chown=53111:53111 intoto-public-key.pem /intoto-public-key.pem
38-
COPY --chown=53111:53111 cosign.pub /cosign.pub
36+
COPY --chown=53111:53111 templates /app/templates
37+
COPY --chown=53111:53111 intoto-public-key.pem /app/intoto-public-key.pem
38+
COPY --chown=53111:53111 cosign.pub /app/cosign.pub
3939

4040
CMD ["devguard"]

0 commit comments

Comments
 (0)