[ 
https://issues.apache.org/jira/browse/MESOS-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jie Yu reassigned MESOS-6057:
-----------------------------

    Assignee: Jie Yu

> docker isolator does not overwrite Dockerfile ENV
> -------------------------------------------------
>
>                 Key: MESOS-6057
>                 URL: https://issues.apache.org/jira/browse/MESOS-6057
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization
>    Affects Versions: 1.0.0, 1.0.1, 1.1.0
>            Reporter: Stéphane Cottin
>            Assignee: Jie Yu
>            Priority: Critical
>              Labels: mesosphere
>             Fix For: 1.1.0
>
>
> The docker/runtime isolator does not overwrite env values when a default 
> value is present in the Dockerfile.
> Steps to reproduce : 
> {code}
> mesos-execute --master=leader.mesos:5050 --name=test 
> --docker_image=bashell/alpine-bash --env="{\"LC_ALL\": 
> \fr_FR.UTF-8\",\"LC_TEST\": \"fr_FR.UTF-8\"}" --command="env"
> {code}
> outputs in stdout :
> {code}
> [...]
> LC_ALL=en_US.UTF-8
> LC_TEST=fr_FR.UTF-8
> [...]
> {code}
>  
> {{en_US.UTF-8}} is the default value from the dockerfile, see 
> https://hub.docker.com/r/bashell/alpine-bash/~/dockerfile/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to