aboutsummaryrefslogtreecommitdiff
path: root/tcwg-base/tcwg-dev/Dockerfile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg-base/tcwg-dev/Dockerfile.in')
-rw-r--r--tcwg-base/tcwg-dev/Dockerfile.in23
1 files changed, 4 insertions, 19 deletions
diff --git a/tcwg-base/tcwg-dev/Dockerfile.in b/tcwg-base/tcwg-dev/Dockerfile.in
index ecc23f29..4aed65d8 100644
--- a/tcwg-base/tcwg-dev/Dockerfile.in
+++ b/tcwg-base/tcwg-dev/Dockerfile.in
@@ -1,17 +1,5 @@
FROM linaro/ci-#{ARCH}-tcwg-base-ubuntu:#{DISTRO}
-COPY run.sh .
-COPY start.sh .
-
-RUN apt-get update \
- && DEBIAN_FRONTEND=noninteractive apt-get install -y \
- software-properties-common \
- && apt-get clean \
- && rm -rf \
- /var/lib/apt/lists/* \
- /tmp/* \
- /var/tmp/*
-
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-file \
@@ -26,29 +14,26 @@ RUN apt-get update \
#endif
less \
locales \
- libgmp-dev \
- libmpc-dev \
- libmpfr-dev \
mc \
screen \
+ software-properties-common \
stgit \
tmux \
- unifdef \
&& apt-get clean \
&& rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/*
-RUN sed -i -e '/.*AuthorizedKeysFile/ d' /etc/ssh/sshd_config \
- && echo "AuthorizedKeysFile %h/.ssh/authorized_keys.docker" >> /etc/ssh/sshd_config \
- && locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 \
+RUN locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 \
&& apt-file update
# Create directories required for X11.
RUN mkdir -p /tmp/.X11-unix /tmp/.ICE-unix \
&& chmod 1777 /tmp/.X11-unix /tmp/.ICE-unix
+COPY run.sh start.sh /
+
#if ARCH_amd64 || ARCH_arm64
ENTRYPOINT ["/run.sh"]
#else