Revert "Merge branch 'development' into 'main'"

This reverts merge request !123
This commit is contained in:
Elmar Kresse
2025-07-22 17:47:42 +02:00
parent 5eee94f113
commit 5c81746cd5
13 changed files with 585 additions and 249 deletions

View File

@@ -29,7 +29,7 @@ COPY common/. ./common
RUN CGO_ENABLED=1 GOOS=linux go build -o /htwkalender-data-manager data-manager/main.go
# production stage
FROM docker.io/alpine:3 AS prod
FROM docker.io/alpine:3.21 AS prod
WORKDIR /htwkalender-data-manager
@@ -39,7 +39,7 @@ RUN adduser -Ds /bin/sh "$USER" && \
chown -R "$USER":"$USER" ./
# copies executable from build container
COPY --chown=$USER:$USER --chmod=500 --from=build /htwkalender-data-manager ./
COPY --chown=$USER:$USER --chmod=744 --from=build /htwkalender-data-manager ./
USER $USER