Skip to content

Instantly share code, notes, and snippets.

@xaiki
Created September 14, 2019 17:31
Show Gist options
  • Select an option

  • Save xaiki/8e772dea4214db246f04adce9ceefdb3 to your computer and use it in GitHub Desktop.

Select an option

Save xaiki/8e772dea4214db246f04adce9ceefdb3 to your computer and use it in GitHub Desktop.

Revisions

  1. xaiki created this gist Sep 14, 2019.
    22 changes: 22 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    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