Skip to content

Instantly share code, notes, and snippets.

@tamakiii
Created April 8, 2023 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamakiii/d67601d483d3c3fc7fbdf61de6b09723 to your computer and use it in GitHub Desktop.
Save tamakiii/d67601d483d3c3fc7fbdf61de6b09723 to your computer and use it in GitHub Desktop.
docker build heredoc
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment