File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed
Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM consol/ubuntu-xfce-vnc:latest
2+
3+ LABEL maintainer Niko
"[email protected] " 4+
5+ ENV REFRESHED_AT 2022-11-24
6+
7+ ENV VNC_RESOLUTION 1920x1080
8+ ENV VNC_PW ppllmmoo
9+
10+ ENV HOME=/headless
11+
12+ WORKDIR $HOME
13+
14+ # Set wallpaper
15+ RUN rm -rf $HOME/.config/bg_sakuli.png
16+ ADD wallpaper.png $HOME/.config/bg_sakuli.png
17+
18+ # Switch to root user to install pakcages
19+ USER 0
20+
21+ RUN set -x; \
22+ apt update \
23+ && apt -y upgrade
24+
25+ RUN apt install -y software-properties-common sudo git
26+
27+ # JDK8
28+ RUN add-apt-repository ppa:openjdk-r/ppa && apt-get update \
29+ && apt install -y openjdk-8-jdk
30+
31+ # Back to normal
32+ USER 1000
33+
34+ # Jadx
35+ WORKDIR $HOME
36+ RUN mkdir project
37+ WORKDIR $HOME/project
38+ RUN git clone https://github.com/skylot/jadx.git jadx \
39+ && cd jadx \
40+ && ./gradlew dist \
41+ && ln -s $HOME/project/jadx/jadx-gui/build/install/jadx-gui/bin/jadx-gui $HOME/jadx-gui
42+
43+ # clean
44+ USER 0
45+ RUN apt autoremove --purge -y && apt clean && apt autoclean && rm -rf /var/lib/apt/lists/*
46+ USER 1000
47+
48+ USER 1000
49+ WORKDIR $HOME
50+
You can’t perform that action at this time.
0 commit comments