awesome-compose icon indicating copy to clipboard operation
awesome-compose copied to clipboard

docker : Error response from daemon: dockerfile parse error line 19: unknown instruction: APT-GET

Open jurivero opened this issue 2 years ago • 2 comments

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

jurivero avatar Apr 23 '23 13:04 jurivero

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

Steph-gautier avatar Apr 26 '23 16:04 Steph-gautier

That is called here-document.

This answer helped me: https://stackoverflow.com/a/75160729/16926605

isidroas avatar May 05 '23 19:05 isidroas