-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (38 loc) · 1.53 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
### start from current ubuntu image
FROM ubuntu:focal
MAINTAINER marcod
### install base programming tools
RUN apt update && DEBIAN_FRONTEND="noninteractive" TZ="Europe/Rome" apt install -y tzdata \
&& apt install -y git subversion \
vim cmake autoconf libreadline-dev \
software-properties-common \
hwloc emacs
RUN DEBIAN_FRONTEND="noninteractive" TZ="Europe/Rome" apt-get install -y tzdata
### make g++-10 default g++ compiler
RUN apt -y install g++-10
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
### install FastFlow
RUN cd /usr/local/ && git clone https://github.com/fastflow/fastflow.git
RUN cd /usr/local/include && ln -s ../fastflow/ff .
RUN cd /usr/local/fastflow/ff && yes | ./mapping_string.sh
### install GRPPi
RUN cd /usr/local && git clone https://github.com/arcosuc3m/grppi.git
RUN cd /usr/local/include && ln -s ../grppi/include/grppi
### install rplsh
RUN cd /usr/local && git clone https://github.com/t-costa/rplsh.git
RUN ln -s /usr/local/rplsh/build/rplsh /usr/local/bin/rplsh
### https://github.com/Murray1991/rplsh.git
RUN cd /usr/local/rplsh && ./install.sh
### set up service ssh
RUN apt install -y ssh
RUN service ssh start
### add additional packages
RUN apt install -y libtbb-dev \
rsync
RUN apt install -y simplescreenrecorder
RUN apt install -y openconnect
RUN apt install -y network-manager-openconnect
### fix user
RUN useradd -ms /bin/bash spm2021user
USER spm2022user
WORKDIR /home/spm2022user