-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile, working on tLDP/LDP#112
- it seems much more packages are required for our builder - test build with this docker image went successful
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ | |
FROM ubuntu:jammy | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL version="0.2" | ||
LABEL version="0.3" | ||
LABEL description="LDP Builder as a Docker image" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update | ||
RUN apt-get update | ||
|
||
# installing required packages and cleaning up after | ||
RUN apt -y install texlive-font-utils linuxdoc-tools-text linuxdoc-tools-latex docbook-dsssl docbook-xsl docbook-utils htmldoc htmldoc-common docbook-xsl html2text docbook5-xml docbook-xsl-ns jing asciidoc libxml2-utils python3-stdeb fakeroot python3-all python3-networkx python3-nose fop ldp-docbook-xsl ldp-docbook-dsssl docbook opensp dh-python git python-all rsync fop && rm -rf /var/lib/apt/lists/* && apt clean | ||
RUN apt-get -y install texlive-font-utils linuxdoc-tools-text linuxdoc-tools-latex docbook-dsssl docbook-xsl docbook-utils htmldoc htmldoc-common docbook-xsl html2text docbook5-xml docbook-xsl-ns jing asciidoc libxml2-utils python3-stdeb fakeroot python3-all python3-networkx python3-nose fop ldp-docbook-xsl ldp-docbook-dsssl docbook opensp dh-python git python-all | ||
|
||
# getting our builder soft | ||
RUN git clone https://github.com/tLDP/python-tldp | ||
|
@@ -29,15 +29,20 @@ RUN ldptool --dump-cfg | |
################################################################################################# | ||
# STAGE 2/2 | ||
################################################################################################# | ||
|
||
FROM ubuntu:jammy | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get install -y rsync asciidoc docbook docbook-xsl-ns docbook5-xml fop html2text htmldoc jing ldp-docbook-dsssl ldp-docbook-xsl linuxdoc-tools-latex linuxdoc-tools-text python3 python3-networkx python3-nose sgml2x texlive-font-utils xsltproc | ||
|
||
COPY --from=0 python-tldp/deb_dist/python3-tldp_*_all.deb . | ||
RUN apt install ./python3-tldp_*_all.deb --fix-broken -y | ||
RUN apt-get install ./python3-tldp_*_all.deb --fix-broken -y | ||
|
||
RUN apt-get clean | ||
RUN apt-get autoremove -y | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
# we are done? | ||
RUN ldptool --dump-cfg | ||
|