diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-07-10 14:38:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-10 14:38:10 +0000 |
commit | 30569ceb06419dee62b8c2a25d589409397caf34 (patch) | |
tree | 2c4b6e0b3677eb3caa73ff46fa099b2127d5e8b6 /docker/Dockerfile | |
parent | 65077872cc6c8d4639a58d3f55bc473c1888311c (diff) | |
parent | f9be90c62bc013adb8806383158d4866d4efc952 (diff) |
Merge "Stop redefining $HOME"
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 4465e918..7db184f4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -28,13 +28,10 @@ ARG FUNCTEST_DIR=/usr/local/lib/python2.7/dist-packages/functest/ ARG REPOS_VNFS_DIR=${REPOS_DIR}/vnfs # Environment variables -ENV HOME /home/opnfv ENV CONFIG_FUNCTEST_YAML ${FUNCTEST_DIR}/ci/config_functest.yaml -ENV REPOS_DIR ${HOME}/repos +ENV REPOS_DIR ${REPOS_DIR} ENV creds ${FUNCTEST_CONF_DIR}/openstack.creds -WORKDIR ${HOME} - # Packaged dependencies RUN apt-get update && apt-get install -y \ build-essential \ @@ -130,4 +127,4 @@ RUN sh -c 'curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -' \ && cd ${REPOS_DIR}/promise && sudo npm -g install npm@latest \ && cd ${REPOS_DIR}/promise/source && npm install -RUN echo ". ${FUNCTEST_DIR}/cli/functest-complete.sh" >> ${HOME}/.bashrc +RUN echo ". ${FUNCTEST_DIR}/cli/functest-complete.sh" >> /root/.bashrc |