mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
username
This commit is contained in:
+6
-6
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user