Skip to content

Commit

Permalink
feat: amd to arm
Browse files Browse the repository at this point in the history
  • Loading branch information
Zastinian committed Dec 8, 2024
1 parent e2bd3c1 commit 1155865
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 40 deletions.
8 changes: 4 additions & 4 deletions java/amd/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:16-jdk-alpine

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container
RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/amd/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-alpine

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container
RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/amd/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:18-jdk-alpine

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container
RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/amd/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-alpine

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container
RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/amd/20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:20-jdk-alpine

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container
RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
CMD [ "/bin/sh", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/arm/16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:16-jdk-focal

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container
RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/sh", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/arm/17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:17-jdk-jammy

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container
RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/sh", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/arm/18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:18-jdk-jammy

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container
RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/sh", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/arm/19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:19-jdk-jammy

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container
RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/sh", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]
8 changes: 4 additions & 4 deletions java/arm/20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:20-jdk-jammy

LABEL author="Zastinian" maintainer="contact@hedystia.com"

RUN apk update && apk add --no-cache \
curl lsof ca-certificates openssl git tar sqlite fontconfig tzdata iproute2 freetype zip unzip && \
adduser -D -h /home/container container
RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool \
&& useradd -m -d /home/container container

USER container
ENV USER=container HOME=/home/container
Expand All @@ -13,4 +13,4 @@ WORKDIR /home/container
STOPSIGNAL SIGINT

COPY ./../../entrypoint.sh /entrypoint.sh
CMD [ "/bin/sh", "/entrypoint.sh" ]
CMD [ "/bin/bash", "/entrypoint.sh" ]

0 comments on commit 1155865

Please sign in to comment.