Skip to content

Commit

Permalink
feat(docker): upgrade the jdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Mar 21, 2023
1 parent 38910b0 commit 7a77180
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM rust AS builder
FROM docker.io/rust AS builder
RUN apt-get update -y && \
apt-get install -y pkg-config libssl-dev
WORKDIR /usr/src/plantuml-generator
COPY Cargo.toml Cargo.lock /usr/src/plantuml-generator/
COPY src /usr/src/plantuml-generator/src
RUN cargo build --release --features vendored-openssl

FROM ubuntu:focal
FROM docker.io/ubuntu:focal
ARG git_sha=""
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.vendor="tmorin" \
Expand All @@ -16,7 +16,7 @@ LABEL org.label-schema.schema-version="1.0" \
RUN apt-get update -y && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:inkscape.dev/stable -y && \
apt-get install -y openjdk-11-jre graphviz inkscape && \
apt-get install -y openjdk-17-jre graphviz inkscape && \
apt-get purge -y software-properties-common && \
apt-get autoremove -y --purge && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 7a77180

Please sign in to comment.