Skip to content

Commit

Permalink
#207 Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sklein94 committed Mar 28, 2023
1 parent f51eb13 commit c5df9f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM openjdk:11.0.10-jdk as builder
FROM eclipse-temurin:11.0.18_10-jdk as builder

ENV SMEAGOL_DIR=/usr/src/smeagol
COPY mvnw pom.xml package.json yarn.lock .prettierrc ${SMEAGOL_DIR}/
COPY .mvn ${SMEAGOL_DIR}/.mvn
RUN apt-get update && apt install -y git
RUN git config --global url."https://github.com/".insteadOf git://github.com/
# We resolve dependencies before copying src so we profit from dockers caching behavior
RUN set -x \
Expand All @@ -15,7 +16,7 @@ RUN set -x \



FROM registry.cloudogu.com/official/java:11.0.14-3
FROM registry.cloudogu.com/official/java:11.0.18-1
LABEL NAME="official/smeagol" \
VERSION="1.6.2-3" \
maintainer="Sebastian Sdorra <sebastian.sdorra@cloudogu.com>"
Expand Down

0 comments on commit c5df9f5

Please sign in to comment.