Skip to content

Commit

Permalink
upgrade to node 14
Browse files Browse the repository at this point in the history
  • Loading branch information
roechi committed Nov 3, 2022
1 parent 4a92b64 commit 61337a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM adoptopenjdk/openjdk11:debian-slim
FROM adoptopenjdk/openjdk14:debian-slim

RUN apt update && apt install -y nodejs npm python3 python3-pip jq curl bash git docker && \
RUN apt-get install -y curl \
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - && apt-get install -y nodejs

RUN apt update && apt install -y python3 python3-pip jq curl bash git docker && \
ln -sf /usr/bin/python3 /usr/bin/python

COPY entrypoint.sh /entrypoint.sh
Expand All @@ -14,6 +17,7 @@ RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \
&& echo $JAVA_HOME


ENV MAVEN_HOME /usr/share/maven

ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"
Expand Down

0 comments on commit 61337a0

Please sign in to comment.