aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-12-17 14:27:27 +0100
committerHarald Welte <laforge@osmocom.org>2020-12-17 15:37:15 +0100
commit7500aebce7715481b76cf980d0488b80015fcd69 (patch)
treecbc76af83c4add7e00d3aae0b471d93d7d52e7ea
parentc52dbbe7f0b6954f481b73e0a211f590837e91c9 (diff)
fpga-build: Add packages required for rendering manuals
-rw-r--r--fpga-build/Dockerfile21
1 files changed, 15 insertions, 6 deletions
diff --git a/fpga-build/Dockerfile b/fpga-build/Dockerfile
index 4056143..620657a 100644
--- a/fpga-build/Dockerfile
+++ b/fpga-build/Dockerfile
@@ -6,6 +6,21 @@ MAINTAINER Harald Welte <laforge@gnumonks.org>
ARG FPGA_TOOLCHAIN_DATE=20200914
ARG RISCV_TOOLCHAIN_VER=8.3.0-1.2
+RUN apt-get update && \
+ apt-get upgrade -y && \
+ apt-get install -y --no-install-recommends \
+ asciidoc \
+ asciidoc-dblatex \
+ dblatex \
+ docbook5-xml \
+ graphviz \
+ inkscape \
+ mscgen \
+ wget \
+ xsltproc && \
+ apt-get clean
+
+
RUN wget https://github.com/open-tool-forge/fpga-toolchain/releases/download/nightly-${FPGA_TOOLCHAIN_DATE}/fpga-toolchain-linux_x86_64-nightly-${FPGA_TOOLCHAIN_DATE}.tar.xz
RUN tar -C /opt -xf fpga-toolchain-linux_x86_64-nightly-${FPGA_TOOLCHAIN_DATE}.tar.xz && \
rm fpga-toolchain-linux_x86_64-nightly-${FPGA_TOOLCHAIN_DATE}.tar.xz
@@ -14,12 +29,6 @@ RUN wget --quiet https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/r
RUN tar -C /opt -xf /xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}-linux-x64.tar.gz && \
rm xpack-riscv-none-embed-gcc-${RISCV_TOOLCHAIN_VER}-linux-x64.tar.gz
-RUN apt-get update && \
- apt-get upgrade -y && \
- apt-get install -y --no-install-recommends \
- wget && \
- apt-get clean
-
RUN useradd -m osmocom
USER osmocom
WORKDIR /home/osmocom