Skip to content

Commit

Permalink
replace "heredoc" syntax from Containerfile
Browse files Browse the repository at this point in the history
Only very recent version of buildah (podman) supports this syntax.

To be compatible with more Linux distributions, avoid to use this right
now.
  • Loading branch information
Trim committed Mar 22, 2024
1 parent 7e5566c commit fd09ed8
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions deployment/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ LABEL org.opencontainers.image.authors="Adrien Dorsaz <[email protected]>"

ARG UID=1200

RUN <<EOF
set -eux
IFS=$'\n\t'

apt-get update

apt-get install -y --no-install-recommends \
build-essential ruby ruby-dev

apt-get clean
EOF
RUN \
set -eux; \
IFS=$'\n\t'; \
apt-get update; \
apt-get install -y --no-install-recommends \
build-essential ruby ruby-dev; \
apt-get clean;

USER ${UID}
WORKDIR /linuxfr-board
Expand Down

0 comments on commit fd09ed8

Please sign in to comment.