Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
04b29dae78 | |||
57acc4701f | |||
ef3070fb4c | |||
6314612a65 | |||
ffa28f0505 | |||
0bd636f6b0 | |||
25cb65145f | |||
1128f102af | |||
5708632689 | |||
3277530eac | |||
f0b5d76400 | |||
d326bd4213 | |||
6499510dd7 | |||
92982a924d | |||
896f4c0179 | |||
c843c28156 | |||
0d1eacbf5b | |||
8efb766bbf | |||
91e01d2cb9 | |||
c6a6a9a3dc |
@@ -5,9 +5,9 @@ on:
|
||||
- 'main'
|
||||
jobs:
|
||||
release-image:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-fast
|
||||
env:
|
||||
DOCKER_ORG: sendnrw
|
||||
DOCKER_ORG: ${{ vars.DOCKER_ORG }}
|
||||
DOCKER_LATEST: latest
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
steps:
|
||||
@@ -21,14 +21,14 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with: # replace it with your local IP
|
||||
config-inline: |
|
||||
[registry."git.send.nrw"]
|
||||
[registry."${{ vars.DOCKER_REGISTRY }}"]
|
||||
http = true
|
||||
insecure = true
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.send.nrw # replace it with your local IP
|
||||
registry: ${{ vars.DOCKER_REGISTRY }} # replace it with your local IP
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
@@ -47,5 +47,17 @@ jobs:
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
git.send.nrw/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
git.send.nrw/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}
|
||||
|
||||
- name: Build and push Ubuntu
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile_Ubuntu
|
||||
platforms: |
|
||||
linux/amd64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}_ubuntu
|
||||
${{ vars.DOCKER_REGISTRY }}/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ env.DOCKER_LATEST }}_ubuntu
|
25
Dockerfile_Ubuntu
Normal file
25
Dockerfile_Ubuntu
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM ubuntu:latest
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
RUN apt install -y bash autoconf automake make gcc g++ nginx redis-server graphviz
|
||||
RUN apt install -y php php-fpm php-opcache php-gd php-curl php-bz2 php-bcmath php-exif php-fileinfo php-iconv php-imap php-intl php-ldap php-mbstring php-mysqli php-odbc php-pdo php-mysql php-odbc php-pgsql php-sqlite3 php-pear php-imagick php-memcache php-memcached php-mongodb php-redis php-smbclient php-ssh2 php-xdebug php-yaml php-phar php-phpdbg php-snmp php-soap php-sockets php-sysvmsg php-tidy php-xml php-xmlreader php-xmlwriter php-xsl php-zip php-ctype php-tokenizer
|
||||
COPY nginx /etc/nginx
|
||||
COPY php /etc/php
|
||||
COPY redis/redis.conf /etc/redis/redis.conf
|
||||
RUN mkdir -p /var/run/php
|
||||
RUN groupadd -g 1001 swarmdocker
|
||||
RUN useradd -u 3041 -g swarmdocker -s /bin/bash -m phpitop
|
||||
RUN useradd -u 3040 -g swarmdocker -s /bin/bash -m nginxitop
|
||||
RUN echo "\
|
||||
#!/bin/sh\n\
|
||||
echo \"Starting services...\"\n\
|
||||
service php8.3-fpm start\n\
|
||||
nginx -g \"daemon off;\" &\n\
|
||||
echo \"Ready.\"\n\
|
||||
tail -s 1 /var/log/nginx/*.log -f\n\
|
||||
" > /start.sh
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 6379
|
||||
EXPOSE 9000
|
||||
STOPSIGNAL SIGTERM
|
||||
CMD ["sh", "/start.sh"]
|
@@ -1,3 +1,9 @@
|
||||
# docker_php
|
||||
|
||||
- 2025-01-02: Patches and Security-Updates
|
||||
- 2025-01-02: Patches and Security-Updates
|
||||
- 2025-01-22: Patches and Security-Updates
|
||||
- 2025-02-09: Patches and Security-Updates
|
||||
- 2025-03-25: Patches and Security-Updates
|
||||
- 2025-03-28: Patches and Security-Updates
|
||||
- 2025-07-31: Patches and Security-Updates
|
||||
- 2025-08-06: Patches and Security-Updates + Critical Fix https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2025-1460
|
Reference in New Issue
Block a user