1
0
Fork 0

Upgrade all the packages on the final stage
All checks were successful
continuous-integration/drone/push Build is passing

This way we get latest security fixes.
This commit is contained in:
Daniele Tricoli 2022-03-11 19:10:21 +01:00
parent 56540639e0
commit 3cf55a9700

View file

@ -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