-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d185ffd
commit e44d151
Showing
9 changed files
with
79 additions
and
119 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
52 changes: 0 additions & 52 deletions
52
.github/workflows/alpine/pull-alpine-base-os-container.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
.github/workflows/tag-3.20.3-x86_64-apache-2.4.62-empty.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
|
||
- name: 🔒️ DockerHub Login | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{secrets.DOCKERHUB_USER}} | ||
password: ${{secrets.DOCKERHUB_PWD}} | ||
|
||
- name: 🔧 Building AtomyCloud Alpine Container Image | ||
uses: docker/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/[email protected] | ||
|
||
- name: 🔒️ DockerHub Login | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{secrets.DOCKERHUB_USER}} | ||
password: ${{secrets.DOCKERHUB_PWD}} | ||
|
||
- name: 🔧 Building AtomyCloud Alpine Container Image | ||
uses: docker/[email protected] | ||
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 |
19 changes: 19 additions & 0 deletions
19
docker-files/alpine/3.20.3-x86_64-apache-2.4.62-empty/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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|<Directory "/var/www/localhost/htdocs">|<Directory "/www">|' /etc/apache2/httpd.conf | ||
|
||
WORKDIR /www | ||
EXPOSE 80 | ||
ENTRYPOINT ["/sbin/init"] |