Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jurivero opened this issue Apr 23, 2023 · 2 comments

Comments

@jurivero
Copy link

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-gautier
Copy link

Steph-gautier commented Apr 26, 2023

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

@isidroas
Copy link

isidroas commented May 5, 2023

That is called here-document.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants