RUN printf"deb http://httpredir.debian.org/debian buster-backports main non-free\ndeb-src http://httpredir.debian.org/debian buster-backports main non-free"> /etc/apt/sources.list.d/backports.list
RUN apt-get update
FROM centos:latest
# Updating Ubuntu packages
RUN apt-getinstall-yapt-transport-https
RUN yuminstall-yemacs
# Adding wget and bzip2
RUN apt-getinstall-y wget bzip2
RUN yuminstall-y wget bzip2
# Install tcl stuff
RUN apt-get install-y tcl
RUN apt-get install-y tcl-dev
RUN apt-get install-y libsm6 libxext6 libxrender-dev
RUN yum install-y tcl
RUN yum install-y tcl-devel
# Add sudo
RUN apt-getinstall-ysudo
#RUN groupadd sudo
RUN yuminstall-ysudo
RUN groupadd sudo
RUN cat /etc/group
# Installing nodejs
RUN apt-get-yinstall curl
RUN curl --silent--location https://deb.nodesource.com/setup_9.x |sudo apt install-f -
RUN apt-get-yinstall nodejs npm
RUN yum-yinstall curl
RUN curl --silent--location https://rpm.nodesource.com/setup_9.x |sudo bash -
RUN yum-yinstall nodejs
#Install apidoc
RUN npm install-g apidoc
# Add user partemix with no password, add to sudo group
RUN adduser partemix
RUN adduser -Gsudo-d /home/partemix partemix
RUN echo'%sudo ALL=(ALL) NOPASSWD:ALL'>> /etc/sudoers
RUN ls /home/partemix
...
...
@@ -127,3 +125,4 @@ RUN ls -l /home/partemix/anaconda3/pkgs/matplotlib-3.0.3-py37h5429711_0/lib/
# ./yafitss/serverWsgi.michel will be listening at 4251
RUN printf"deb http://httpredir.debian.org/debian buster-backports main non-free\ndeb-src http://httpredir.debian.org/debian buster-backports main non-free"> /etc/apt/sources.list.d/backports.list
RUN apt-get update
FROM centos:latest
# The version of nodejs
#FROM node:9
# Updating Ubuntu packages
RUN apt-getinstall-yapt-transport-https
RUN yuminstall-yemacs
# Adding wget and bzip2
RUN apt-getinstall-y wget bzip2
RUN yuminstall-y wget bzip2
# Add sudo
RUN apt-getinstall-ysudo
#RUN groupadd sudo
RUN yuminstall-ysudo
RUN groupadd sudo
RUN cat /etc/group
# Installing nodejs
RUN apt-get-yinstall curl
RUN curl --silent--location https://deb.nodesource.com/setup_9.x |sudo apt install-f -
RUN apt-get-yinstall nodejs npm
RUN yum-yinstall curl
RUN curl --silent--location https://rpm.nodesource.com/setup_9.x |sudo bash -