diff --git a/Dockerfile b/Dockerfile index a364603..3a6d310 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV PATH /nit/bin/:$PATH RUN make -C nit/contrib/nitiwiki FROM ubuntu:24.04 -RUN apt-get update && apt-get install -y git libunwind8 libgc1 highlight pandoc wget unzip make texlive-latex-base lmodern texlive-latex-recommended texlive-latex-extra --no-install-recommends +RUN apt-get update && apt-get install -y git ca-certificates libunwind8 libgc1 highlight pandoc wget unzip make texlive-latex-base lmodern texlive-latex-recommended texlive-latex-extra --no-install-recommends && apt-get clean COPY --from=0 /nit/contrib/nitiwiki/bin/nitiwiki /bin/nitiwiki COPY --from=0 /nit/misc/highlight/nit.lang /usr/share/highlight/langDefs RUN /bin/nitiwiki --help diff --git a/Makefile b/Makefile index 7600971..a236319 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,13 @@ rebuild: git pull nitiwiki --render --force -v -deploy: doc.zip man.zip +deploy: doc.zip man.zip catalog.zip make -C pages/manual unzip -o man.zip -d pages/tools nitiwiki --render --force -v unzip -o doc.zip -d tmp mv tmp/nitc tmp/stdlib target/doc/ + unzip -o catalog.zip -d target/catalog/ doc.zip: wget https://nightly.link/nitlang/nit/workflows/master/test-ci/doc.zip @@ -21,6 +22,9 @@ doc.zip: man.zip: wget https://nightly.link/nitlang/nit/workflows/master/test-ci/man.zip +catalog.zip: + wget https://nightly.link/nitlang/nit/workflows/master/test-ci/catalog.zip + clean: rm -r tmp/ - rm -r target/ \ No newline at end of file + rm -r target/