Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Fix user permission
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Jan 10, 2023
1 parent ab31c65 commit 025cc0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ updates:
interval: "daily"
ignore:
- dependency-name: "eclipse-temurin"
update-types: [ "version-update:semver-major" ]
- dependency-name: "ibm-semeru-runtimes"
update-types: [ "version-update:semver-major" ]
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ WORKDIR /app
ENV TZ=Europe/Zurich
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apk --no-cache add curl
RUN apt-get install curl -y

RUN addgroup --gid 1000 -S app && adduser --uid 1000 -S app -G app
RUN useradd --uid 1000 --user-group app
RUN chown -R app:app /app
USER app

Expand Down

0 comments on commit 025cc0c

Please sign in to comment.