Framadate : store to registry (6)

This commit is contained in:
Gitouche 2022-08-16 21:22:57 +02:00
parent 1f06dd328d
commit 9b53a3193f
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ ensure_pwd_is_scriptdir
ensure_not_root
if ! podman image exists ${framadate_image}:${framadate_version}; then
podman build -t "${framadate_image}":"${framadate_version}" --build-arg=version="${framadate_release}" --file docker/Dockerfile
podman build -t "${framadate_image}":"${framadate_version}" --build-arg=version="${framadate_release}" docker/
else
echo "Image ${framadate_image}:${framadate_version} already built"
fi

View File

@ -9,9 +9,9 @@ RUN a2enmod rewrite
COPY --from=docker.io/library/composer:2.2 /usr/bin/composer /usr/bin/composer
COPY docker/php.ini /usr/local/etc/php/php.ini
COPY docker/apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
COPY docker/entrypoint.sh /usr/local/bin/entrypoint
COPY php.ini /usr/local/etc/php/php.ini
COPY apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
COPY entrypoint.sh /usr/local/bin/entrypoint
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN set -eux; \