Initial commit for base image
This commit is contained in:
46
.gitea/workflows/release.yml
Normal file
46
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: Build startup image
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
# Use docker.io for Docker Hub if empty
|
||||||
|
REGISTRY: cs-registry.ddnss.de
|
||||||
|
USER: chris
|
||||||
|
PASS: q',\H(Od:G3).Xv<#!5P
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build-and-release-image:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: catthehacker/ubuntu:act-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
|
- name: Log into registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: https://cs-git.ddnss.de
|
||||||
|
username: ${{ env.USER }}
|
||||||
|
password: ${{ env.PASS }}
|
||||||
|
|
||||||
|
- name: Extract Docker metadata
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: cs-git.ddnss.de/docker/php-apache-8-3
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
tags: cs-git.ddnss.de/docker/php-apache-8-3
|
||||||
|
push: true
|
||||||
|
# cache-from: type=gha
|
||||||
|
# cache-to: type=gha,mode=max
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/.idea
|
||||||
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM debian:12-slim
|
||||||
|
|
||||||
|
RUN apt-get -y update && \
|
||||||
|
apt-get -y upgrade && \
|
||||||
|
apt-get -y install libicu-dev libgd-dev libonig-dev unzip
|
||||||
|
|
||||||
|
RUN docker-php-ext-install gd intl mbstring mysqli pdo_mysql
|
||||||
|
|
||||||
|
RUN apt-get -y purge --auto-remove && apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||||
|
|
||||||
Reference in New Issue
Block a user