generated from actions/hello-world-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
26 lines (21 loc) · 1.15 KB
/
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
# Use trixie / debian 13
FROM debian:trixie-slim
# Update packages
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y wget jq
# Download JLineup executable
RUN wget --no-verbose -O jlineup-cli.jar "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=de.otto&a=jlineup-cli&v=LATEST&e=jar"
#RUN wget --no-verbose -O /jlineup-cli.jar "https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=de.otto&a=jlineup-cli&e=jar&v=LATEST"
# Install Chrome & Firefox
RUN apt-get install -yf firefox-esr libjpeg-progs \
&& wget -O chrome.deb --no-verbose https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
#&& wget -O chrome.deb --no-verbose https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb \
#&& wget -O chrome.deb --no-verbose https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb \
&& apt-get install -y ./chrome.deb \
&& rm ./chrome.deb
# Install jre to execute JLineup
RUN mkdir -p /usr/share/man/man1
RUN apt-get install -yf default-jre-headless
# Copy endpoint.sh to image
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]