summaryrefslogtreecommitdiff
path: root/testing/docker/gentoo-amd64
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2018-10-28 17:44:22 (GMT)
committerAlexey Neyman <stilor@att.net>2018-10-28 17:44:22 (GMT)
commit9d432466648c50ca379ccc2db1c2839c3a7465fa (patch)
treea0808202c696fae7edd451dc08a4309da600b311 /testing/docker/gentoo-amd64
parentdc01f618986a45a61ba35f9ecc3eaf1e884d715c (diff)
Change the layout a bit
... to a more natural installation paths, and also include ct-ng into $PATH in the containers. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'testing/docker/gentoo-amd64')
-rw-r--r--testing/docker/gentoo-amd64/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/docker/gentoo-amd64/Dockerfile b/testing/docker/gentoo-amd64/Dockerfile
index ab5ac94..ec5c131 100644
--- a/testing/docker/gentoo-amd64/Dockerfile
+++ b/testing/docker/gentoo-amd64/Dockerfile
@@ -5,4 +5,5 @@ RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
+RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
ENTRYPOINT [ "/sbin/dumb-init", "--" ]