Compare commits

...

10 Commits

Author SHA1 Message Date
c58d366f9b
misc: removed gitlab ci
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-08 17:57:13 +02:00
194e20bb5f
Fixed missing dependency
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 20:50:24 +01:00
709e93f4c4
Added Google signing key to apt
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 16:46:10 +01:00
35f5766c04
Essentials and non essentials should not be removed in fact
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 16:11:27 +01:00
bf34be2bbb
Allowed the removal of essential packages
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 16:10:20 +01:00
8c058d5006
Fixed typo in dockerfile with apt-purge instead of apt purge
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 16:06:46 +01:00
55041227cf
Removed all libs as it is supposed to be a baseline and not the whole image
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-25 16:04:29 +01:00
e556207a20
Added missing lib in Dockerfile
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-17 19:12:11 +01:00
8ba41cb78b
Added Postgres to supported DB
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-11-17 19:05:12 +01:00
9a8e11e064
Upgraded to php 8
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2021-09-23 08:19:06 +02:00
2 changed files with 7 additions and 32 deletions

View File

@ -1,28 +0,0 @@
# This file is a template, and might need editing before it works on your project.
docker-build-master:
# Official docker image.
image: docker:latest
stage: build
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
docker-build:
# Official docker image.
image: docker:latest
stage: build
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master

View File

@ -1,10 +1,13 @@
FROM php:7.4-apache
FROM php:8-apache
EXPOSE 80
RUN apt-get update \
&& apt-get install -y wget \
RUN apt update \
&& apt install -y wget gnupg \
&& wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb -O /tmp/modpagespeed.deb \
&& dpkg -i /tmp/modpagespeed.deb \
&& rm /tmp/modpagespeed.deb \
&& service apache2 restart \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&& docker-php-ext-install -j$(nproc) opcache pdo_mysql mysqli
&& docker-php-ext-install -j$(nproc) opcache \
&& apt purge -y wget \
&& apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 78BD65473CB3BD13 \
&& rm -rf /var/lib/apt/lists/*