-
Notifications
You must be signed in to change notification settings - Fork 54
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
Paths to Dockerfile resources not updated, missing files, build issues #9
Comments
I just ran $ ./docker/dockerize.sh -u -b -f According to the help of
What the command does is: Lastly, unless you make sure all necessary files are in place, It seems like the command in your box is failing on the key generation step (https://github.com/jmpsec/osctrl/blob/master/docker/dockerize.sh#L151), do you have |
@joshuaganger feel free to reopen this issue if this is still a problem, thanks! |
Please test master now and see if this issue is resolved with the fix landed in #20. Don't forget to use |
I'm running CentOS 7.7, docker 19.03.2. From a new copy of master:
I don't currently see a docker/certs directory. If I create the docker/certs directory, it then errors on creating tls.conf in docker/config because that directory doesn't exist either. If I create docker/config it appears to work. I suspect you have empty directories in your local repo that are being ignored by Git. You may want to look into a solution like this: https://steindom.com/articles/add-empty-directory-git-repository to bring the empty directories into your git repository. Just don't forget to update it if you ever add files to those directories that should be included in the repo. |
Weird, I addressed that issue in #20 by making sure both |
this had happened to me as well, moving the docker-compose.yaml file out to the root of the repo fixed it for me. |
make docker_all fails with:
Attempting to manually start:
docker-compose.yml is now located inside the docker directory, it seems the path to the Dockerfile should be just tls/Dockerfile.
After editing paths, docker-compose up fails with:
ERROR: Service 'osctrl-tls' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder567593261/cmd/tls/scripts: no such file or directory
This appears to be because it's looking for the ~/osctrl/cmd/tls/scripts directory that is one directory up from the docker-compose.yml.
The text was updated successfully, but these errors were encountered: