Commit 7e1062e9 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

add abaqus

parent c8a11e43
from centos
run yum install -y openssh
run yum install -y lsb
run curl | tar x
run curl | tar x
run curl | tar x
run curl | tar x
run curl | tar x
run curl | tar x
run yum install -y ksh
run yum install -y openssh-server openssh-clients
expose 22
run ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa && \
ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa && \
ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa -b 521 && \
ssh-keygen -f /etc/ssh/ssh_host_ed25519_key -N '' -t ed25519 -b 521
run yum install -y sudo
run useradd -m docker -G wheel && echo "docker:docker" |chpasswd
run /usr/sbin/sshd
RUN yum -y install tigervnc-server
RUN yum install -y vim
RUN yum install epel-release -y
yum --enablerepo=epel -y -x gnome-keyring --skip-broken groups install "Xfce" && \
yum -y groups install "Fonts" && \
yum erase -y *power* *screensaver* && \
rm /etc/xdg/autostart/xfce-polkit* && \
/bin/dbus-uuidgen > /etc/machine-id
echo "vncserver -autokill -geometry 1920x1080 -xstartup /usr/bin/startxfce4" > /usr/bin/startvnc && \
chmod +x /usr/bin/startvnc
RUN yum install -y gcc-gfortran gcc-c++
RUN yum clean all
CMD /sbin/sshd -D
#now run the docker with docker run --name abaqus -d -p 5901-5920:5901-5920/tcp -p2222:22 abaqus:v0.2
#then inside the docker install abaqus as root (with and create users with adduser
#the license servers are :
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment