-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
30 lines (18 loc) · 871 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
# Docker Image to build proxl-web
# if existing command not work to build docker image, see https://docs.docker.com/go/buildx/
FROM ubuntu:jammy
# 'jammy' is Ubuntu 22.04
# Gradle is downloaded via Gradle Wrapper in Limelight Core so NO need to add here
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install openjdk-21-jdk wget curl locales ant unzip
# Uncomment during development to see default java version
# RUN java -version
# Configure locale to UTF-8
RUN locale-gen en_US.UTF-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
# https://nodejs.org/en/about/previous-releases
# * https://deb.nodesource.com/setup_20.x — Node.js 20 "Iron" (current)
# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
npm install --global [email protected]