update link to upper-constraints.txt
[doc.git] / tools / Dockerfile
1 # Copyright 2021 Nokia
2 # Licensed under the Apache License 2.0
3 # SPDX-License-Identifier: Apache-2.0
4
5 ARG build_env="no_proxy"
6
7 #FROM openjdk:17-slim-bullseye as build_no_proxy
8 FROM openjdk:8-jdk-slim as build_no_proxy
9 ONBUILD RUN echo "I don't copy proxy settings"
10
11 FROM openjdk:8-jdk-slim as build_proxy
12 ONBUILD COPY proxy.conf /etc/apt/apt.conf.d/proxy.conf
13
14 ################ Add all non proxy dependent stuff here
15 FROM build_${build_env}
16 ARG DEBIAN_FRONTEND=noninteractive
17 COPY c2m.sh ./c2m.sh
18 COPY c2m-wrapper.sh ./c2m-wrapper.sh
19
20 # Install wget
21 RUN apt-get update && apt-get -y install apt-utils
22 RUN apt-get -y install wget pandoc
23
24 RUN wget -q https://repo1.maven.org/maven2/de/viaboxx/markdown/confluence2md/2.1/confluence2md-2.1-fat.jar