forked from marcoturi/ionic-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
DockerfileBaseImage
45 lines (37 loc) · 927 Bytes
/
DockerfileBaseImage
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
35
36
37
38
39
40
41
42
43
44
45
FROM ubuntu:22.04
ENV TZ="America/Sao_Paulo"
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && \
apt-get install -y \
curl \
gnupg \
ca-certificates \
software-properties-common \
openjdk-21-jdk \
bash \
expect \
ant \
wget \
unzip \
git \
jq \
python3 \
python3-pip \
python3-pillow \
locales
ENV java -v
ENV JAVA_HOME /usr/lib/jvm/java-21-openjdk-amd64
ENV PATH $JAVA_HOME/bin:$PATH
# Instale o Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
# Verifique as versões do Java e Node.js
RUN java -version && \
node -v && \
npm -v
#docker build -t sidibecker/ubuntu22-jdk21-node16 -f DockerfileBaseImage . --progress=plain