docker : Error response from daemon: dockerfile parse error line 19: unknown instruction: APT-GET
jurivero opened this issue · comments
jurivero commented
run docker compose up -d on the angular example and I get
docker : Error response from daemon: dockerfile parse error line 19: unknown instruction: APT-GET
I am on a windows machine and I have installed docker for windows
Steph commented
Had this same issue today. We can see this:
`RUN <<EOF
apt-get update
apt-get install -y --no-install-recommends git
EOF
RUN <<EOF
useradd -s /bin/bash -m vscode
groupadd docker
usermod -aG docker vscode
EOF`
Probably wrong merges cause this
Isidro commented
That is called here-document.
This answer helped me: https://stackoverflow.com/a/75160729/16926605