Commit 5f0014c2 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Fix Allowing to modify CW_INSTANCE on onbuild images

Seems using a default value is broken here, see https://github.com/moby/moby/issues/15025#issuecomment-371799311
parent 39de0987c09c
ARG FROM
FROM $FROM
ONBUILD ARG CW_INSTANCE_NAME=instance
ONBUILD ENV CW_INSTANCE=$CW_INSTANCE_NAME
ONBUILD ARG CW_INSTANCE_NAME
ONBUILD ENV CW_INSTANCE=${CW_INSTANCE_NAME:-instance}
ONBUILD USER root
ONBUILD COPY . /src/
ONBUILD RUN pip install -e /src
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment