docker / awesome-compose

Awesome Docker Compose samples

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APK ERROR: Service 'backend' failed to build : Build failed

kaipyroami opened this issue · comments

Error when building nginx-golang-postgres

Error response from daemon: dockerfile parse error line 25: unknown instruction: APK
ERROR: Service 'backend' failed to build : Build failed

It appears to be failing to run this command:

RUN <<EOF
apk update
apk add git
EOF

Modifying to

RUN apk update
RUN apk add git

solved the issue.