-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
45 lines (35 loc) · 960 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
35
36
37
38
39
40
41
42
43
44
45
FROM ubuntu:20.04
# Install Java
RUN apt-get update && apt-get install -y \
openjdk-17-jdk \
&& rm -rf /var/lib/apt/lists/* \
&& java -version
# Install Git
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/* \
&& git --version
# Install Python3 and pip3
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-setuptools \
python3-wheel \
&& rm -rf /var/lib/apt/lists/* \
&& python3 --version
# Install rsync and tmux
RUN apt-get update && apt-get install -y \
rsync \
tmux \
&& rm -rf /var/lib/apt/lists/* \
&& rsync --version \
&& tmux -V
# Disable gradle daemon
ENV GRADLE_OPTS "-Dorg.gradle.daemon=false"
# Copy the plugin
COPY ide-former-plugin /ide-former-plugin
EXPOSE 8080
# prebuild the plugin with gradle
RUN cd /ide-former-plugin && ./gradlew buildPlugin
ENTRYPOINT ["bash", "/ide-former-plugin/runPluginStarter.sh"]
CMD []