Skip to content

Commit 3017f17

Browse files
authored
fix: remove unnecessary USER instruction from Dockerfile and Actions (#17)
1 parent eabcd24 commit 3017f17

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ jobs:
3636
artifact:
3737
runs-on: ubuntu-20.04
3838
needs: check
39-
container:
40-
image: mpsq/emacs-builder:latest
41-
options: --user root
39+
container: mpsq/emacs-builder:latest
4240
env:
4341
PKG_VERSION: ${{ needs.check.outputs.pkg_version }}
4442
steps:

.github/workflows/manual.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ jobs:
3636
artifact:
3737
runs-on: ubuntu-20.04
3838
needs: check
39-
container:
40-
image: mpsq/emacs-builder:latest
41-
options: --user root
39+
container: mpsq/emacs-builder:latest
4240
env:
4341
PKG_VERSION: ${{ needs.check.outputs.pkg_version }}
4442
steps:

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,3 @@ RUN \
6262
su-exec "$USR" yay -Scc --noconfirm
6363

6464
WORKDIR $USR_HOME
65-
66-
USER $USR

0 commit comments

Comments
 (0)