diff --git a/.github/workflows/alpine/last_version.txt b/.github/workflows/alpine/last_version.txt deleted file mode 100644 index 2564057..0000000 --- a/.github/workflows/alpine/last_version.txt +++ /dev/null @@ -1,4 +0,0 @@ -3.20.0 -3.20.1 -3.20.2 -3.20.3 diff --git a/.github/workflows/alpine/pull-alpine-base-os-container.yml b/.github/workflows/alpine/pull-alpine-base-os-container.yml deleted file mode 100644 index 4278411..0000000 --- a/.github/workflows/alpine/pull-alpine-base-os-container.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: Pull Alpine BaseOS Container - -on: - push: - paths: - - '.github/workflows/alpine/last_version.txt' - - workflow_dispatch: - -jobs: - build-and-push: - runs-on: ubuntu-latest - - steps: - - name: Checkout Repository - uses: actions/checkout@v4.1.1 - - - name: 🔧 Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: ⏬ Download Alpine MinirootFS - run: | - URL_BASE="https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/" - OS_VERSION="alpine-minirootfs-" - OS_TYPE="-x86_64" - EXT=".tar.gz" - LAST_VERSION="$(curl -s https://raw.githubusercontent.com/AtomyCloud/docker-images/main/.github/workflows/alpine/last_version.txt | tail -n 1)" - URL="${URL_BASE}${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - FILE="${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - DOCKER_HUB_REPO="atomycloud/os:" - TAG_VERSION="${DOCKER_HUB_REPO}${OS_VERSION}${LAST_VERSION}${OS_TYPE}" - curl -L -O $URL - - - name: 🔒️ DockerHub Login - uses: docker/login-action@v3.0.0 - with: - username: ${{secrets.DOCKERHUB_USER}} - password: ${{secrets.DOCKERHUB_PWD}} - - - name: 🆗 Import Docker Image, Tag Docker Image && Push Docker Image - run: | - URL_BASE="https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/" - OS_VERSION="alpine-minirootfs-" - OS_TYPE="-x86_64" - EXT=".tar.gz" - LAST_VERSION="$(curl -s https://raw.githubusercontent.com/AtomyCloud/docker-images/main/.github/workflows/alpine/last_version.txt | tail -n 1)" - URL="${URL_BASE}${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - FILE="${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - DOCKER_HUB_REPO="atomycloud/os:" - TAG_VERSION="${DOCKER_HUB_REPO}${OS_VERSION}${LAST_VERSION}${OS_TYPE}" - docker image import "$FILE" "$TAG_VERSION" - docker push "$TAG_VERSION" diff --git a/.github/workflows/alpine/s390x/last_version.txt b/.github/workflows/alpine/s390x/last_version.txt deleted file mode 100644 index 4b310df..0000000 --- a/.github/workflows/alpine/s390x/last_version.txt +++ /dev/null @@ -1,3 +0,0 @@ -3.20.0 -3.20.1 -3.20.2 diff --git a/.github/workflows/alpine/x86/last_version.txt b/.github/workflows/alpine/x86/last_version.txt deleted file mode 100644 index 2564057..0000000 --- a/.github/workflows/alpine/x86/last_version.txt +++ /dev/null @@ -1,4 +0,0 @@ -3.20.0 -3.20.1 -3.20.2 -3.20.3 diff --git a/.github/workflows/alpine/x86_64/last_version.txt b/.github/workflows/alpine/x86_64/last_version.txt deleted file mode 100644 index 2564057..0000000 --- a/.github/workflows/alpine/x86_64/last_version.txt +++ /dev/null @@ -1,4 +0,0 @@ -3.20.0 -3.20.1 -3.20.2 -3.20.3 diff --git a/.github/workflows/pull-alpine-base-os-container-ppc64le b/.github/workflows/pull-alpine-base-os-container-ppc64le deleted file mode 100644 index 74a00bb..0000000 --- a/.github/workflows/pull-alpine-base-os-container-ppc64le +++ /dev/null @@ -1,52 +0,0 @@ -name: Pull Alpine BaseOS Container - ppc64le - -on: - push: - paths: - - '.github/workflows/alpine/ppc64le/last_version.txt' - - workflow_dispatch: - -jobs: - build-and-push: - runs-on: ubuntu-latest - - steps: - - name: ✔️ Checkout Repository - uses: actions/checkout@v4.1.1 - - - name: 🔧 Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: ⏬ Download Alpine MinirootFS - run: | - URL_BASE="https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/ppc64le/" - OS_VERSION="alpine-minirootfs-" - OS_TYPE="-ppc64le" - EXT=".tar.gz" - LAST_VERSION="$(curl -s https://raw.githubusercontent.com/AtomyCloud/docker-images/main/.github/workflows/alpine/ppc64le/last_version.txt | tail -n 1)" - URL="${URL_BASE}${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - FILE="${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - DOCKER_HUB_REPO="atomycloud/os:" - TAG_VERSION="${DOCKER_HUB_REPO}${OS_VERSION}${LAST_VERSION}${OS_TYPE}" - curl -L -O $URL - - - name: 🔒️ DockerHub Login - uses: docker/login-action@v3.0.0 - with: - username: ${{secrets.DOCKERHUB_USER}} - password: ${{secrets.DOCKERHUB_PWD}} - - - name: 🆗 Import Docker Image, Tag Docker Image && Push Docker Image - run: | - URL_BASE="https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/ppc64le/" - OS_VERSION="alpine-minirootfs-" - OS_TYPE="-ppc64le" - EXT=".tar.gz" - LAST_VERSION="$(curl -s https://raw.githubusercontent.com/AtomyCloud/docker-images/main/.github/workflows/alpine/ppc64le/last_version.txt | tail -n 1)" - URL="${URL_BASE}${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - FILE="${OS_VERSION}${LAST_VERSION}${OS_TYPE}${EXT}" - DOCKER_HUB_REPO="atomycloud/os:" - TAG_VERSION="${DOCKER_HUB_REPO}${OS_VERSION}${LAST_VERSION}${OS_TYPE}" - docker image import "$FILE" "$TAG_VERSION" - docker push "$TAG_VERSION" diff --git a/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62-empty.yml b/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62-empty.yml new file mode 100644 index 0000000..e8d3432 --- /dev/null +++ b/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62-empty.yml @@ -0,0 +1,30 @@ +name: TAG - alpine:3.20.3-x86_64-apache-2.4.62-empty + +on: + push: + paths: + - 'docker-images/docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile' + + workflow_dispatch: + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - name: ✔️ Checkout Repository + uses: actions/checkout@v4.1.1 + + - name: 🔒️ DockerHub Login + uses: docker/login-action@v3.0.0 + with: + username: ${{secrets.DOCKERHUB_USER}} + password: ${{secrets.DOCKERHUB_PWD}} + + - name: 🔧 Building AtomyCloud Alpine Container Image + uses: docker/build-push-action@v5.1.0 + with: + file: ./docker-images/docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile + push: true + tags: | + atomycloud/alpine:3.20.3-x86_64-apache-2.4.62-empty diff --git a/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62.yml b/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62.yml new file mode 100644 index 0000000..e591139 --- /dev/null +++ b/.github/workflows/tag-3.20.3-x86_64-apache-2.4.62.yml @@ -0,0 +1,30 @@ +name: TAG - alpine:3.20.3-x86_64-apache-2.4.62 + +on: + push: + paths: + - 'docker-images/docker-files/alpine/3.20.3-x86_64-apache-2.4.62/Dockerfile' + + workflow_dispatch: + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - name: ✔️ Checkout Repository + uses: actions/checkout@v4.1.1 + + - name: 🔒️ DockerHub Login + uses: docker/login-action@v3.0.0 + with: + username: ${{secrets.DOCKERHUB_USER}} + password: ${{secrets.DOCKERHUB_PWD}} + + - name: 🔧 Building AtomyCloud Alpine Container Image + uses: docker/build-push-action@v5.1.0 + with: + file: ./docker-images/docker-files/alpine/3.20.3-x86_64-apache-2.4.62/Dockerfile + push: true + tags: | + atomycloud/alpine:3.20.3-x86_64-apache-2.4.62 diff --git a/docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile b/docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile new file mode 100644 index 0000000..4b9d76d --- /dev/null +++ b/docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile @@ -0,0 +1,19 @@ +# AtomyCloud - Apache2! Alpine Container Image | atomycloud/alpine:3.20.3-x86_64-apache-2.4.62 +# IMAGE: Alpine:3.20.3 + Apache:2.4.62 +# docker run -d -p 8080:80 atomycloud/alpine:3.20.3-x86_64-apache-2.4.62-empty +FROM atomycloud/os:alpine-minirootfs-3.20.3-x86_64 + +RUN apk update && apk add apache2 --no-cache && \ + addgroup -g 111 www; adduser -u 111 -D -S -G www www && \ + mkdir -p www; chown www:www /www; chmod 1777 /www && \ + chown -R www:www /etc/apache2 && \ + apk add openrc --no-cache && \ + mkdir -p /run/openrc && \ + touch /run/openrc/softlevel && \ + rc-update add apache2 default && \ + sed -i 's|DocumentRoot "/var/www/localhost/htdocs"|DocumentRoot "/www"|' /etc/apache2/httpd.conf && \ + sed -i 's|||' /etc/apache2/httpd.conf + +WORKDIR /www +EXPOSE 80 +ENTRYPOINT ["/sbin/init"]