Skip to content
This repository has been archived by the owner on Oct 21, 2019. It is now read-only.

Set PREFIX through ARG #18

Open
wants to merge 1 commit into
base: gdalhead
Choose a base branch
from

Conversation

ersinakinci
Copy link

Allow setting the prefix through a build-time argument, defaulting to /var/task. This feature is especially helpful in situations where you need /var/task in the container's file system to be available. For example, if a downstream application is hardcoded to mount a volume to that path, we can rebuild the container using this Dockerfile and simply pass --build-arg PREFIX=/var/gdal to docker build.

Since the ARG's default is set to /var/task, it shouldn't break any build toolchains.

@ersinakinci
Copy link
Author

Also, if my PR is merged, how would we propagate it to the various version branches?

@dazza-codes dazza-codes mentioned this pull request Aug 7, 2019
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant