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

Add docker file #254

Merged
merged 1 commit into from Jul 13, 2016
Merged

Add docker file #254

merged 1 commit into from Jul 13, 2016

Conversation

sbrunner
Copy link
Member

New docker image that contains a tilecloud chain ready to generate tiles.

COPY requirements.txt /src/
COPY README.rst /src/
COPY CHANGES.rst /src/
COPY tilecloud_chain /src/tilecloud_chain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should do that in less lines to avoid too many layers:

COPY setup.py requirements.txt README.rst CHANGES.rst /src/
COPY tilecloud_chain /src/tilecloud_chain

I usually tend to have the files following the directory structure they'll have in the destination and do a single COPY . /src/ using a .dockerignore file to avoid copying the Dockerfile and other unwanted files.

@sbrunner sbrunner force-pushed the docker branch 2 times, most recently from cb2afe3 to 667c2e4 Compare July 13, 2016 10:20
run_file.write('os.umask(0o{})\n'.format(os.environ['UMASK']))
run_file.write('subprocess.check_call({})\n'.format(repr(sys.argv[1:])))

run_file_name = "/tmp/run"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move up and use, please.

@pvalsecc
Copy link
Contributor

Small detail, appart from that all good. Please merge when fixed.

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 this pull request may close these issues.

None yet

2 participants