Skip to content

Commit

Permalink
Run go-makefile-maker
Browse files Browse the repository at this point in the history
  • Loading branch information
sapcc-bot committed May 4, 2023
1 parent ff6ee54 commit 8f4d88a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ RUN make -C /src install PREFIX=/pkg

FROM alpine:3.17

RUN addgroup -g 4200 appgroup
RUN adduser -h /home/appuser -s /sbin/nologin -G appgroup -D -u 4200 appuser
RUN apk add --no-cache --no-progress ca-certificates
RUN addgroup -g 4200 appgroup \
&& adduser -h /home/appuser -s /sbin/nologin -G appgroup -D -u 4200 appuser
# upgrade all installed packages to fix potential CVEs in advance
RUN apk upgrade --no-cache --no-progress \
&& apk add --no-cache --no-progress ca-certificates
COPY --from=builder /pkg/ /usr/

ARG BININFO_BUILD_DATE BININFO_COMMIT_HASH BININFO_VERSION
Expand Down

0 comments on commit 8f4d88a

Please sign in to comment.