Skip to content

Commit

Permalink
Fix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
erseco committed Nov 22, 2024
1 parent 57e231b commit 4160fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LABEL maintainer="Ernesto Serrano <[email protected]>" \
description="Lightweight container with Nginx & PHP-FPM based on Alpine Linux."

# Set SHELL to use pipefail
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
SHELL ["/bin/sh", "-o", "pipefail", "-c"]

# Install packages
RUN apk --no-cache add \

Check failure on line 11 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildx

DL4006 warning: Set the SHELL option -o pipefail before RUN with a pipe in it. If you are using /bin/sh in an alpine image or if your shell is symlinked to busybox then consider explicitly setting your SHELL to /bin/ash, or disable this check
Expand Down

0 comments on commit 4160fa6

Please sign in to comment.