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

airhacks/payara start.sh not in sync with Docker Hub #13

Open
iKemp opened this issue Jul 12, 2017 · 1 comment
Open

airhacks/payara start.sh not in sync with Docker Hub #13

iKemp opened this issue Jul 12, 2017 · 1 comment

Comments

@iKemp
Copy link

iKemp commented Jul 12, 2017

Docker hub seems to have a wrong version of the start.sh script which does not point to the correct deployment folder.

After docker pull airhacks/payara from inside the container:

[root@bc0de921e222 bin]# cat start.sh
#!/bin/sh
echo deploy `cd ${DEPLOYMENT_DIR} && ls -1 | head -1` > deploy-command
cat deploy-command
asadmin start-domain --verbose --postbootcommandfile deploy-command ${DOMAIN_NAME}

This does not match the start.sh from this repository and leads to failed deployment.
More precisely the script is missing the ${DEPLOYMENT_DIR}/ part.

@vmiharia
Copy link

vmiharia commented Sep 19, 2017

Yeap! A newbie here! Caused a lot of headache! :) But learnt a lot while debugging.

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

2 participants