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

[BUG] incorrect shell syntax in postgres/Dockerfile #59

Closed
dmd opened this issue Mar 16, 2021 · 0 comments · Fixed by #60
Closed

[BUG] incorrect shell syntax in postgres/Dockerfile #59

dmd opened this issue Mar 16, 2021 · 0 comments · Fixed by #60

Comments

@dmd
Copy link
Contributor

dmd commented Mar 16, 2021

  1. Clone repository.
  2. do docker-compose up
Status: Downloaded newer image for postgres:12.2-alpine
 ---> ae192c4d3ada
Step 2/3 : RUN if [ ! -z ${POSTGRES_GID} && ${POSTGRES_GID} != 70 ]; then         sed -i'' -E 's/postgres:x:70:postgres/postgres:x:'${POSTGRES_GID}':postgres/' /etc/group;         sed -i'' -E 's/postgres:x:70:70:/postgres:x:'${POSTGRES_UID}':'${POSTGRES_GID}':/' /etc/passwd;     fi;
 ---> Running in ca4bb2bd2bef
sh: missing ]
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

Successfully merging a pull request may close this issue.

1 participant