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 build not working #2

Open
nfacha opened this issue Nov 1, 2022 · 0 comments · May be fixed by #3
Open

Docker build not working #2

nfacha opened this issue Nov 1, 2022 · 0 comments · May be fixed by #3

Comments

@nfacha
Copy link

nfacha commented Nov 1, 2022

Status: Downloaded newer image for goofball222/pritunl:latest
 ---> 89403d22ac7b
Step 2/12 : ENV ORIG_API_SERVER app.pritunl.com
 ---> Running in fb4d4b9bda87
Removing intermediate container fb4d4b9bda87
 ---> 6e4fc947fd7f
Step 3/12 : ENV FAKE_API_SERVER pritunl-api.simonmicro.de
 ---> Running in 7bf643674954
Removing intermediate container 7bf643674954
 ---> 8c962637a7b0
Step 4/12 : ENV ORIG_AUTH_SERVER auth.pritunl.com
 ---> Running in 03384c6c7313
Removing intermediate container 03384c6c7313
 ---> c65475329a41
Step 5/12 : ENV FAKE_AUTH_SERVER pritunl-api.simonmicro.de\\/auth
 ---> Running in 52ddd6296519
Removing intermediate container 52ddd6296519
 ---> 631bf0a3a816
Step 6/12 : RUN ORIG_API_SERVER_ESCAPED=$(echo "$ORIG_API_SERVER" | sed -e 's/\./\\./g') &&     FAKE_API_SERVER_ESCAPED=$(echo "$FAKE_API_SERVER" | sed -e 's/\./\\./g') &&     ORIG_AUTH_SERVER_ESCAPED=$(echo "$ORIG_AUTH_SERVER" | sed -e 's/\./\\./g') &&     FAKE_AUTH_SERVER_ESCAPED=$(echo "$FAKE_AUTH_SERVER" | sed -e 's/\./\\./g') &&     echo 'Rewriting pritunl api endpoint: libs' &&     find /usr/lib/python3.9 -type f -print0 | xargs -0 sed -i "s/$ORIG_API_SERVER_ESCAPED/$FAKE_API_SERVER_ESCAPED/g" &&     echo 'Rewriting pritunl api endpoint: www' &&     find /usr/share/pritunl/www/ -type f -print0 | xargs -0 sed -i "s/$ORIG_API_SERVER_ESCAPED/$FAKE_API_SERVER_ESCAPED/g" &&     echo 'Rewriting pritunl auth (SSO) endpoint: libs+www' &&     find /usr/lib/python3.9 -type f -print0 | xargs -0 sed -i "s/$ORIG_AUTH_SERVER_ESCAPED/$FAKE_AUTH_SERVER_ESCAPED/g" &&     find /usr/share/pritunl/www/ -type f -print0 | xargs -0 sed -i "s/$ORIG_AUTH_SERVER_ESCAPED/$FAKE_AUTH_SERVER_ESCAPED/g" &&     echo 'Done...'
 ---> Running in 1127eaa8c6b6
Rewriting pritunl api endpoint: libs
find: /usr/lib/python3.9: No such file or directory
sed: -i requires an argument
The command '/bin/sh -c ORIG_API_SERVER_ESCAPED=$(echo "$ORIG_API_SERVER" | sed -e 's/\./\\./g') &&     FAKE_API_SERVER_ESCAPED=$(echo "$FAKE_API_SERVER" | sed -e 's/\./\\./g') &&     ORIG_AUTH_SERVER_ESCAPED=$(echo "$ORIG_AUTH_SERVER" | sed -e 's/\./\\./g') &&     FAKE_AUTH_SERVER_ESCAPED=$(echo "$FAKE_AUTH_SERVER" | sed -e 's/\./\\./g') &&     echo 'Rewriting pritunl api endpoint: libs' &&     find /usr/lib/python3.9 -type f -print0 | xargs -0 sed -i "s/$ORIG_API_SERVER_ESCAPED/$FAKE_API_SERVER_ESCAPED/g" &&     echo 'Rewriting pritunl api endpoint: www' &&     find /usr/share/pritunl/www/ -type f -print0 | xargs -0 sed -i "s/$ORIG_API_SERVER_ESCAPED/$FAKE_API_SERVER_ESCAPED/g" &&     echo 'Rewriting pritunl auth (SSO) endpoint: libs+www' &&     find /usr/lib/python3.9 -type f -print0 | xargs -0 sed -i "s/$ORIG_AUTH_SERVER_ESCAPED/$FAKE_AUTH_SERVER_ESCAPED/g" &&     find /usr/share/pritunl/www/ -type f -print0 | xargs -0 sed -i "s/$ORIG_AUTH_SERVER_ESCAPED/$FAKE_AUTH_SERVER_ESCAPED/g" &&     echo 'Done...'' returned a non-zero code: 123
ERROR: Service 'pritunl' failed to build : Build failed

@nfacha nfacha linked a pull request Nov 1, 2022 that will close this issue
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