We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a81ef85 commit 9010ebcCopy full SHA for 9010ebc
1 file changed
.github/docker/Dockerfile
@@ -13,6 +13,11 @@ RUN cd linuxcnc-src && \
13
debian/configure && \
14
apt-get build-dep -y .
15
16
+#Cleanup
17
+RUN apt-get clean && \
18
+ rm -rf /var/lib/apt/lists/* && \
19
+ rm -rf linuxcnc-src
20
+
21
#Add a user for linuxcnc with sudo nopasswd and set it as user
22
RUN useradd -ms /bin/bash linuxcnc && \
23
echo "linuxcnc ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/linuxcnc-nopasswd
0 commit comments