[DO-316] Add image for doxygen w java & plantuml (#1)
Some checks failed
Build and publish docker image / Builds the image and publishes to docker hub (push) Has been cancelled
Some checks failed
Build and publish docker image / Builds the image and publishes to docker hub (push) Has been cancelled
Reviewed-on: https://git.avroid.tech/Docker/doxygen/pulls/1 Reviewed-by: Denis Patrakeev <denis.patrakeev@avroid.team>
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,11 +1,12 @@
|
||||
ARG DOCKER_REGISTRY=harbor.avroid.tech/docker-hub-proxy/library
|
||||
ARG DOCKER_REGISTRY=harbor.avroid.tech/docker-hub-proxy
|
||||
|
||||
# https://hub.docker.com/_/ubuntu
|
||||
FROM ${DOCKER_REGISTRY}/ubuntu:22.04
|
||||
LABEL description="Base build image based on ubuntu 22.04"
|
||||
FROM ${DOCKER_REGISTRY}/ubuntu:24.04
|
||||
LABEL description="Base build image based on ubuntu 24.04"
|
||||
|
||||
# Disable output interactive dialogs in console for service commands
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV PLANTUML="1.2025.0"
|
||||
ENV TZ="Europe/Moscow"
|
||||
|
||||
# Nexus
|
||||
ARG NEXUS_DOMAIN_NAME="nexus.avroid.tech"
|
||||
@@ -21,8 +22,6 @@ RUN sed -ie "s/deb\ http\:\/\/archive.ubuntu.com\/ubuntu/deb\ [trusted=yes] http
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
ENV TZ="Europe/Moscow"
|
||||
|
||||
# Set timezone on Ubuntu
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends tzdata && \
|
||||
@@ -34,6 +33,9 @@ RUN apt update && \
|
||||
# Upgrade OS in container
|
||||
RUN apt update && \
|
||||
apt install -y --no-install-recommends apt-utils && \
|
||||
apt install doxygen wget graphviz default-jdk -y && \
|
||||
apt dist-upgrade -y && \
|
||||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp*
|
||||
|
||||
USER ubuntu
|
||||
RUN wget https://github.com/plantuml/plantuml/releases/download/v${PLANTUML}/plantuml-${PLANTUML}.jar -P /home/ubuntu
|
||||
|
||||
Reference in New Issue
Block a user