This commit is contained in:
Thomas Krijnen
2021-03-08 14:27:56 +01:00
parent a56ca661e8
commit 615f567ebf
+6 -6
View File
@@ -13,8 +13,8 @@ RUN apt-get update \
software-properties-common ;\ software-properties-common ;\
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN useradd --user-group --create-home --shell /bin/bash feelpp ;\ RUN useradd --user-group --create-home --shell /bin/bash IfcOpenShell ;\
echo "feelpp ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers echo "IfcOpenShell ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
@@ -28,10 +28,10 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu focal-proposed main restricted" |
libboost-regex1.67.0 libboost-thread1.67.0 libboost-date-time1.67.0; \ libboost-regex1.67.0 libboost-thread1.67.0 libboost-date-time1.67.0; \
rm -rf /var/lib/apt/lists/* ; rm -rf /var/lib/apt/lists/* ;
COPY . /home/feelpp/ COPY . /home/IfcOpenShell/
RUN ls -lrtR /home/feelpp RUN ls -lrtR /home/IfcOpenShell
RUN dpkg -i /home/feelpp/*.deb RUN dpkg -i /home/IfcOpenShell/*.deb
USER feelpp USER IfcOpenShell