Upgrade all the packages on the final stage
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This way we get latest security fixes.main
parent
56540639e0
commit
3cf55a9700
|
@ -2,7 +2,7 @@ FROM golang:1.17-alpine3.15 AS builder
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk --no-cache add git
|
||||
RUN apk -U --no-cache add git
|
||||
|
||||
COPY . .
|
||||
|
||||
|
@ -12,6 +12,8 @@ FROM alpine:3.15
|
|||
|
||||
COPY --from=builder /app/telegram-group2mastodon /bin/telegram-group2mastodon
|
||||
|
||||
RUN apk -U --no-cache upgrade
|
||||
|
||||
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
|
||||
|
||||
USER appuser
|
||||
|
|
Loading…
Reference in New Issue