mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-6057) docker isolator does not overwrite Dockerfile ENV
Date Sat, 20 Aug 2016 03:59:20 GMT

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

Jie Yu updated MESOS-6057:
--------------------------
    Priority: Critical  (was: Major)

> 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
>            Priority: Critical
>
> 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)

Mime
View raw message