meow
Some checks failed
Publish Docker Image / docker (push) Failing after 18s

This commit is contained in:
Lee 2023-11-29 19:01:04 +00:00
parent 73ad9c552b
commit 98c097880e
4 changed files with 47 additions and 31 deletions

@ -38,13 +38,21 @@ jobs:
username: ${{ secrets.REPO_USERNAME }}
password: ${{ secrets.REPO_TOKEN }}
- name: Build and Push (Java8 with Firefox)
- name: Build and Push (Java 8)
uses: docker/build-push-action@v4
with:
push: true
context: ./java8-with-firefox
file: ./java8-with-firefox/Dockerfile
tags: fascinated/docker-images:node-yarn-latest
context: ./generic/java/8
file: ./generic/java/8/Dockerfile
tags: fascinated/docker-images:java-8
- name: Build and Push (Java 8 - With Firefox)
uses: docker/build-push-action@v4
with:
push: true
context: ./java-8-with-firefox
file: ./java-8-with-firefox/Dockerfile
tags: fascinated/docker-images:java-8-with-firefox
- name: Build and Push (Latest NodeJS)
uses: docker/build-push-action@v4

33
generic/java/8/Dockerfile Normal file

@ -0,0 +1,33 @@
# Latest Ubuntu image
FROM eclipse-temurin:8u312-b07-jdk-focal
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -y \
&& apt install -y \
curl \
lsof \
ca-certificates \
openssl \
git \
tar \
sqlite3 \
fontconfig \
tzdata \
iproute2 \
libfreetype6 \
tini \
ENV DISPLAY=:0
RUN useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]

@ -1,34 +1,9 @@
# Latest Ubuntu image
FROM eclipse-temurin:8u312-b07-jdk-focal
FROM
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update -y \
&& apt install -y \
curl \
lsof \
ca-certificates \
openssl \
git \
tar \
sqlite3 \
fontconfig \
tzdata \
iproute2 \
libfreetype6 \
tini \
firefox
ENV DISPLAY=:0
RUN useradd -m -d /home/container -s /bin/bash container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]
ENV DISPLAY=:0