BUILDKIT_PROGRESS=plain docker build -t tmp -f- . <<EOF
FROM --platform=linux/amd64 amazonlinux:2017.03.1.20170812
RUN yum update -y && yum install -y ca-certificates
RUN curl -fsSL https://rpm.nodesource.com/setup_18.x | bash -
EOF
Created
April 8, 2023 15:04
-
-
Save tamakiii/d67601d483d3c3fc7fbdf61de6b09723 to your computer and use it in GitHub Desktop.
docker build heredoc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment