Skip to content

Commit 9010ebc

Browse files
committed
ci: Add cleanup
1 parent a81ef85 commit 9010ebc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ RUN cd linuxcnc-src && \
1313
debian/configure && \
1414
apt-get build-dep -y .
1515

16+
#Cleanup
17+
RUN apt-get clean && \
18+
rm -rf /var/lib/apt/lists/* && \
19+
rm -rf linuxcnc-src
20+
1621
#Add a user for linuxcnc with sudo nopasswd and set it as user
1722
RUN useradd -ms /bin/bash linuxcnc && \
1823
echo "linuxcnc ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/linuxcnc-nopasswd

0 commit comments

Comments
 (0)