-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
34 lines (27 loc) · 872 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM maven:3-eclipse-temurin-21
MAINTAINER Stephan Krusche <[email protected]>
RUN apt-get update && apt-get upgrade -y && apt-get install -y locales
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Also install Java 17 (needed for running PE templates)
RUN apt-get update && apt-get install -y \
gnupg openjdk-17-jdk \
&& curl -sL https://deb.nodesource.com/setup_22.x | bash - \
&& apt-get update && apt-get install -y \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# update npm to use the latest version
RUN npm install -g npm@latest
ENV M2_HOME /usr/share/maven
RUN echo "$LANG -- $LANGUAGE -- $LC_ALL" \
&& curl --version \
&& gpg --version \
&& git --version \
&& mvn --version \
&& java --version \
&& javac --version \
&& node --version \
&& npm --version