diff options
Diffstat (limited to 'tools/Dockerfile')
-rw-r--r-- | tools/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/Dockerfile b/tools/Dockerfile new file mode 100644 index 000000000..e364a74d1 --- /dev/null +++ b/tools/Dockerfile @@ -0,0 +1,24 @@ +# Copyright 2021 Nokia +# Licensed under the Apache License 2.0 +# SPDX-License-Identifier: Apache-2.0 + +ARG build_env="no_proxy" + +#FROM openjdk:17-slim-bullseye as build_no_proxy +FROM openjdk:8-jdk-slim as build_no_proxy +ONBUILD RUN echo "I don't copy proxy settings" + +FROM openjdk:8-jdk-slim as build_proxy +ONBUILD COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf + +################ Add all non proxy dependent stuff here +FROM build_${build_env} +ARG DEBIAN_FRONTEND=noninteractive +COPY c2m.sh ./c2m.sh +COPY c2m-wrapper.sh ./c2m-wrapper.sh + +# Install wget +RUN apt-get update && apt-get -y install apt-utils +RUN apt-get -y install wget pandoc + +RUN wget -q https://repo1.maven.org/maven2/de/viaboxx/markdown/confluence2md/2.1/confluence2md-2.1-fat.jar |