Skip to content

Commit

Permalink
Update *-builder images to build git and fakeroot without using prt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
sepen committed Jan 1, 2025
1 parent 5ecd19d commit 7599c7d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
7 changes: 6 additions & 1 deletion 3.7-amd64-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

FROM sepen/crux:3.7-amd64-core

RUN ports -u && prt-get depinst fakeroot git
RUN ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
pkgmk -d && pkgadd *.pkg.tar.* && \
rm -rf /usr/ports/*

CMD /usr/bin/crux
9 changes: 7 additions & 2 deletions 3.7-arm64-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# 3.7-arm64-builder
# Builder variant with necessary packages to build ports and clone git repositories

FROM sepen/crux:3.7-arm64-core as builder
FROM sepen/crux:3.7-arm64-core

RUN ports -u && prt-get depinst fakeroot git
RUN ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
pkgmk -d && pkgadd *.pkg.tar.* && \
rm -rf /usr/ports/*

CMD /usr/bin/crux
9 changes: 7 additions & 2 deletions 3.7-armhf-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# 3.7-armhf-builder
# Builder variant with necessary packages to build ports and clone git repositories

FROM sepen/crux:3.7-armhf-core as builder
FROM sepen/crux:3.7-armhf-core

RUN ports -u && prt-get depinst fakeroot git
RUN ports -u opt && \
cd /usr/ports/opt/fakeroot && \
pkgmk -d && pkgadd *.pkg.tar.* && \
cd /usr/ports/opt/git && \
pkgmk -d && pkgadd *.pkg.tar.* && \
rm -rf /usr/ports/*

CMD /usr/bin/crux

0 comments on commit 7599c7d

Please sign in to comment.