Skip to content

Commit b76466b

Browse files
committed
Dockerfile: reorganise packages and drop not used one
1 parent bed0950 commit b76466b

1 file changed

Lines changed: 47 additions & 13 deletions

File tree

Dockerfile

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ubuntu:22.04
22

3-
ENV USER pqc
3+
ENV USER oqs
44
ENV DEBIAN_FRONTEND noninteractive
55
RUN apt-get update
66
RUN apt-get install -y software-properties-common
@@ -11,21 +11,56 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime
1111
RUN echo $TZ > /etc/timezone
1212

1313
# Required Packages for the Host Development System
14-
RUN apt-get install -y \
15-
curl gawk wget git-core git-man git-email diffstat unzip texinfo gcc-multilib \
16-
g++-multilib zip xz-utils xutils-dev debianutils iputils-ping libsdl1.2-dev xterm \
17-
build-essential chrpath socat cpio libssl-dev python3 python3-pip python3-pexpect \
18-
pylint libegl1-mesa libcups2-dev mesa-common-dev libxkbcommon-dev libxkbcommon-x11-dev \
19-
libwayland-cursor++0 libwayland-cursor0 liblz4-tool libncurses-dev tmux jq nano vim \
20-
bash-completion zstd file openssh-server openssh-client sudo iproute2 rsync htop \
21-
git-crypt bash-completion
14+
RUN apt-get update && apt-get install --no-install-recommends -y \
15+
bash-completion \
16+
build-essential \
17+
chrpath \
18+
cpio \
19+
curl \
20+
debianutils \
21+
diffstat \
22+
file \
23+
g++-multilib \
24+
gawk \
25+
gcc-multilib \
26+
git-core \
27+
git-email \
28+
git-man \
29+
htop \
30+
iproute2 \
31+
iputils-ping \
32+
jq \
33+
libcups2-dev \
34+
libegl1-mesa \
35+
liblz4-tool \
36+
libncurses-dev \
37+
libsdl1.2-dev \
38+
libssl-dev \
39+
nano \
40+
openssh-client \
41+
openssh-server \
42+
pylint \
43+
python3 \
44+
python3-pexpect \
45+
python3-pip \
46+
rsync \
47+
socat \
48+
sudo \
49+
texinfo \
50+
tmux \
51+
unzip \
52+
vim \
53+
wget \
54+
xterm \
55+
xutils-dev \
56+
xz-utils \
57+
zip \
58+
zstd && \
59+
rm -rf /var/lib/apt/lists/*
2260

2361
# Add kas tool
2462
RUN pip3 install --no-input kas
2563

26-
# Add openjdk-jre needed for jenkins
27-
RUN apt-get install -y openjdk-17-jre
28-
2964
# Fix error "Please use a locale setting which supports utf-8."
3065
RUN apt-get install -y locales
3166
RUN locale-gen en_US.UTF-8
@@ -48,4 +83,3 @@ WORKDIR /home/$USER
4883

4984
CMD ["/bin/bash"]
5085

51-
EXPOSE 22:2222

0 commit comments

Comments
 (0)