Skip to content

Commit

Permalink
Move docker/ubuntu-18.04 to root docker directory
Browse files Browse the repository at this point in the history
Copy ubuntu-18-04 directoy content into docker directory and remove
ubuntu-18-04 directory.

The git history will provide 16.04 version of the Dockerfile.

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Mar 22, 2024
1 parent 6bcff19 commit 6102986
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 165 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ Other commit information:

* [How to format the message][commit-message-message]

## How to build the docker image (tag 16.04)
## How to build the docker image (tag 18.04)

```bash
docker build --no-cache --build-arg version=16.04 --build-arg strip=true -t eclipse/tracecompass-build-env:16.04 .
docker build --no-cache --build-arg version=18.04 --build-arg strip=true -t eclipse/tracecompass-build-env:18.04 .
```

## How to push the docker image to dockerHub under the eclipse organisation
```bash
docker push eclipse/tracecompass-build-env:16.04
docker push eclipse/tracecompass-build-env:18.04
```

## Contact
Expand Down
20 changes: 9 additions & 11 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# SPDX-License-Identifier: EPL-2.0
###############################################################################

FROM ubuntu:16.04
FROM ubuntu:18.04

USER root

Expand All @@ -21,6 +21,7 @@ RUN chmod u+x /usr/local/bin/uid_entrypoint && \
#ENTRYPOINT [ "uid_entrypoint" ]
### end

ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
Expand All @@ -31,14 +32,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
wget \
zip \
##Xvnc
libgtk-3-0 \
libgtk2.0-0 \
locales \
#libgtk-3-0=3.22.30-1ubuntu1 \
#tigervnc-standalone-server \
#tigervnc-common \
#metacity \
icewm \
x11-xserver-utils \
libgl1-mesa-dri \
Expand All @@ -47,13 +43,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
xfonts-100dpi \
xfonts-75dpi \
fonts-liberation \
#fonts-liberation2 \
fonts-freefont-ttf \
fonts-dejavu \
fonts-dejavu-core \
fonts-dejavu-extra \
python-all-dev python-pip python-setuptools \
python3-all-dev python3-pip python3-setuptools \
tigervnc-standalone-server \
tigervnc-xorg-extension\
tigervnc-viewer \
tigervnc-common \
metacity \
&& rm -rf /var/lib/apt/lists/* \
&& locale-gen en_US.UTF-8 \
&& pip install --upgrade pip \
Expand All @@ -65,10 +65,8 @@ ENV LC_ALL en_US.UTF-8

#RUN [ -f "/etc/ssl/certs/java/cacerts" ] || /var/lib/dpkg/info/ca-certificates-java.postinst configure

RUN apt-get update && apt-get install -y --no-install-recommends x11-utils xauth libtasn1-3-bin libxfont1-dev libglu1-mesa x11-xkb-utils \
&& rm -rf /var/lib/apt/lists/* && wget https://dl.bintray.com/tigervnc/stable/ubuntu-16.04LTS/amd64/tigervncserver_1.9.0-1ubuntu1_amd64.deb -O /tmp/tigervncserver_1.9.0-1ubuntu1_amd64.deb \
&& dpkg -i /tmp/tigervncserver_1.9.0-1ubuntu1_amd64.deb \
&& rm /tmp/tigervncserver_1.9.0-1ubuntu1_amd64.deb
RUN apt-get update && apt-get install -y --no-install-recommends x11-utils xauth libglu1-mesa x11-xkb-utils \
&& rm -rf /var/lib/apt/lists/*

ENV USER_NAME tracecompass
ENV HOME /home/tracecompass
Expand Down
93 changes: 0 additions & 93 deletions docker/ubuntu-18.04/Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions docker/ubuntu-18.04/scripts/uid_entrypoint

This file was deleted.

21 changes: 0 additions & 21 deletions docker/ubuntu-18.04/scripts/xstartup_icewm.sh

This file was deleted.

20 changes: 0 additions & 20 deletions docker/ubuntu-18.04/scripts/xstartup_metacity.sh

This file was deleted.

0 comments on commit 6102986

Please sign in to comment.