Skip to content

Commit

Permalink
flux/docker: fix sed -i
Browse files Browse the repository at this point in the history
  • Loading branch information
sam#gemmi-win10 committed Dec 6, 2023
1 parent 9929e59 commit 0c6e97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flux/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ FROM ubuntu:20.04 as files2
# test -z "$(echo $TARGETPLATFORM |grep arm)" || mv $hookd/webhookd-arm64 $hookd/webhookd; \
# mv $hookd/webhookd* $hookd/webhookd; \
test -z "$(echo $TARGETPLATFORM |grep arm)" || sed -i 's^cmd="go run ./"^cmd=./webhookd^g' $hookd/run.sh; \
sed "s^\$cmd^exec \$cmd^g" /rootfs/usr/local/webhookd/run.sh; \
sed -i "s^\$cmd^exec \$cmd^g" /rootfs/usr/local/webhookd/run.sh; \
\
# https://gitee.com/infrastlabs/fk-webhookd/releases/download/v22.08.18/v1.3.0.tar.gz #https://github.com/novnc/noVNC/archive
# curl -k -O -fSL >> wget
Expand Down

0 comments on commit 0c6e97c

Please sign in to comment.