Created
September 14, 2019 17:31
-
-
Save xaiki/8e772dea4214db246f04adce9ceefdb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk update | |
RUN apk add mercurial | |
RUN apk add make gettext mg gcc pkgconfig libnotify-dev libc-dev | |
WORKDIR /srv | |
RUN hg clone http://hg.slitaz.org/slitaz-base-files \ | |
&& cd slitaz-base-files/ \ | |
&& make install-libtaz install-slitaz install-libpkg \ | |
&& cp rootfs/etc/slitaz-release /etc/ \ | |
&& rm -rf srv/* | |
RUN for i in tazlito tazusb tazpkg; do \ | |
(hg clone http://hg.slitaz.org/$i \a | |
&& cd /srv/$i \ | |
&& make && make install \ | |
); \ | |
done && rm -rf /srv/* | |
RUN mkdir -p /var/lib/tazpkg/ | |
WORKDIR /root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment