docker / awesome-compose

Awesome Docker Compose samples

Home Page:https://docs.docker.com/compose/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jurivero opened this issue · 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

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

commented

That is called here-document.

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