Skip to content

Instantly share code, notes, and snippets.

@xaiki
Created September 14, 2019 17:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save xaiki/8e772dea4214db246f04adce9ceefdb3 to your computer and use it in GitHub Desktop.
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