@@ -24,14 +24,15 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_API_TOKEN }}
|
password: ${{ secrets.DOCKER_API_TOKEN }}
|
||||||
|
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
env:
|
#env:
|
||||||
ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
# ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: |
|
#platforms: |
|
||||||
linux/amd64
|
# linux/amd64
|
||||||
push: true
|
push: true
|
||||||
provenance: false
|
provenance: false
|
||||||
sbom: false
|
sbom: false
|
||||||
tags: git.bbee.fr/${{ github.repository }}:latest
|
#tags: git.bbee.fr/${{ github.repository }}:latest
|
||||||
|
tags: git.bbee.fr/docker-ci/debian-moustache:latest
|
||||||
|
|||||||
+32
-32
@@ -5,35 +5,35 @@ RUN apt update
|
|||||||
|
|
||||||
# prepary sury repo
|
# prepary sury repo
|
||||||
RUN apt install -yqq curl
|
RUN apt install -yqq curl
|
||||||
RUN apt install -yqq lsb-release
|
#RUN apt install -yqq lsb-release
|
||||||
RUN apt install -yqq ca-certificates
|
#RUN apt install -yqq ca-certificates
|
||||||
RUN curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
|
#RUN curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
|
||||||
RUN dpkg -i /tmp/debsuryorg-archive-keyring.deb
|
#RUN dpkg -i /tmp/debsuryorg-archive-keyring.deb
|
||||||
RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
#RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
|
||||||
RUN apt update
|
#RUN apt update
|
||||||
|
#
|
||||||
# install gpg
|
## install gpg
|
||||||
RUN apt install -yqq gpg
|
#RUN apt install -yqq gpg
|
||||||
|
#
|
||||||
# install zip / unzip
|
## install zip / unzip
|
||||||
RUN apt install -yqq zip unzip
|
#RUN apt install -yqq zip unzip
|
||||||
|
#
|
||||||
# install PHP 8.3
|
## install PHP 8.3
|
||||||
RUN apt install -yqq php8.3-cli php8.3-common php8.3-curl php8.3-imagick php8.3-intl php8.3-mbstring php8.3-opcache php8.3-readline php8.3-xml php8.3-zip
|
#RUN apt install -yqq php8.3-cli php8.3-common php8.3-curl php8.3-imagick php8.3-intl php8.3-mbstring php8.3-opcache php8.3-readline php8.3-xml php8.3-zip
|
||||||
|
#
|
||||||
# install nodeJS 22.14.0
|
## install nodeJS 22.14.0
|
||||||
RUN curl -o- https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh | bash
|
#RUN curl -o- https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh | bash
|
||||||
RUN apt install -yqq nodejs=22.14.0-1nodesource1
|
#RUN apt install -yqq nodejs=22.14.0-1nodesource1
|
||||||
|
#
|
||||||
# install yarn
|
## install yarn
|
||||||
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null
|
#RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null
|
||||||
RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list'
|
#RUN sh -c 'echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" > /etc/apt/sources.list.d/yarn.list'
|
||||||
RUN apt update
|
#RUN apt update
|
||||||
RUN apt install -yqq yarn
|
#RUN apt install -yqq yarn
|
||||||
|
#
|
||||||
# install git
|
## install git
|
||||||
RUN apt install -yqq git
|
#RUN apt install -yqq git
|
||||||
|
#
|
||||||
# get composer
|
## get composer
|
||||||
RUN mkdir -p /app/bin
|
#RUN mkdir -p /app/bin
|
||||||
RUN curl -s http://getcomposer.org/installer | /usr/bin/php8.3 -d date.timezone="Europe/Paris" -- --install-dir=/app/bin/
|
#RUN curl -s http://getcomposer.org/installer | /usr/bin/php8.3 -d date.timezone="Europe/Paris" -- --install-dir=/app/bin/
|
||||||
|
|||||||
Reference in New Issue
Block a user