Skip to content

Commit

Permalink
Merge pull request #25 from troykelly/24-wrong-user-ffmpeg-rather-tha…
Browse files Browse the repository at this point in the history
…n-xteve

Correcting user
  • Loading branch information
troykelly authored Jan 24, 2023
2 parents d77cc4c + 011df04 commit 62325ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ jobs:
uses: docker/setup-buildx-action@v2
with:
install: true
driver-opts: |
image=moby/buildkit:v0.10.6
- name: 🏗 Login to Docker Container Registry
uses: docker/login-action@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ jobs:
uses: docker/setup-buildx-action@v2
with:
install: true
driver-opts: |
image=moby/buildkit:v0.10.6
- name: 🏗 Login to Docker Container Registry
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion xteve/rootfs/usr/local/bin/docker-xteve-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ -x "/usr/bin/xteve" ]]; then
pid=$!
else
echo >&2 "📺 Executing \"$@\""
sudo --preserve-env -H -u ffmpeg -- bash -c 'exec "$@"' bash-run "$@" &
sudo --preserve-env -H -u xteve -- bash -c 'exec "$@"' bash-run "$@" &
pid=$!
fi
echo >&2 "🕴️ Waiting for process ${pid} to finish"
Expand Down

0 comments on commit 62325ea

Please sign in to comment.