Skip to content

Commit fd09ed8

Browse files
committed
replace "heredoc" syntax from Containerfile
Only very recent version of buildah (podman) supports this syntax. To be compatible with more Linux distributions, avoid to use this right now.
1 parent 7e5566c commit fd09ed8

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

deployment/Containerfile

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ LABEL org.opencontainers.image.authors="Adrien Dorsaz <[email protected]>"
1010

1111
ARG UID=1200
1212

13-
RUN <<EOF
14-
set -eux
15-
IFS=$'\n\t'
16-
17-
apt-get update
18-
19-
apt-get install -y --no-install-recommends \
20-
build-essential ruby ruby-dev
21-
22-
apt-get clean
23-
EOF
13+
RUN \
14+
set -eux; \
15+
IFS=$'\n\t'; \
16+
apt-get update; \
17+
apt-get install -y --no-install-recommends \
18+
build-essential ruby ruby-dev; \
19+
apt-get clean;
2420

2521
USER ${UID}
2622
WORKDIR /linuxfr-board

0 commit comments

Comments
 (0)