Skip to content

Commit

Permalink
upgrade alpine version and add kubero user with ID 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Oct 4, 2023
1 parent f8af78b commit 1038a99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packs/fetch/build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM alpine:3.16
FROM alpine:3.18
RUN apk update
RUN apk add git openssh openssh-client
COPY --chmod=0400 ssh_config /etc/ssh/ssh_config
COPY --chmod=0755 init.sh /init.sh

RUN adduser -D -u 1000 kubero
USER kubero
#ENTRYPOINT [ "/init.sh" ]
CMD [ "/init.sh" ]
#WORKDIR /app

0 comments on commit 1038a99

Please sign in to comment.