Framadate : store to registry (6)
This commit is contained in:
parent
1f06dd328d
commit
9b53a3193f
|
@ -8,7 +8,7 @@ ensure_pwd_is_scriptdir
|
||||||
ensure_not_root
|
ensure_not_root
|
||||||
|
|
||||||
if ! podman image exists ${framadate_image}:${framadate_version}; then
|
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
|
else
|
||||||
echo "Image ${framadate_image}:${framadate_version} already built"
|
echo "Image ${framadate_image}:${framadate_version} already built"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -9,9 +9,9 @@ RUN a2enmod rewrite
|
||||||
|
|
||||||
COPY --from=docker.io/library/composer:2.2 /usr/bin/composer /usr/bin/composer
|
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 php.ini /usr/local/etc/php/php.ini
|
||||||
COPY docker/apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
|
COPY apache-framadate.conf /etc/apache2/sites-enabled/framadate.conf
|
||||||
COPY docker/entrypoint.sh /usr/local/bin/entrypoint
|
COPY entrypoint.sh /usr/local/bin/entrypoint
|
||||||
|
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
|
|
Loading…
Reference in a new issue