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 ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.1-6.tar | tar x
run curl ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.2-6.tar | tar x
run curl ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.3-6.tar | tar x
run curl ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.4-6.tar | tar x
run curl ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.5-6.tar | tar x
run curl ftp://braque.mema.ucl.ac.be/abaqus/2017/2017.AM_SIM_Abaqus_Extend.AllOS.6-6.tar | 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
RUN \
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
RUN \
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 StartTUI.sh) and create users with adduser
#the license servers are :
#27006@abaqus-lic-one.sipr.ucl.ac.be
#27006@abaqus-lic-two.sipr.ucl.ac.be
#27006@abaqus-lic-three.sipr.ucl.ac.be
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