Fixed php8 alpine dockerfile
Build and Push Alpine based Composer Image / Build and push composer on alpine based image (push) Has been cancelled Details
Build and Push UBI9 based Composer Image / Build and push composer on ubi9 based image (push) Has been cancelled Details

This commit is contained in:
Muhamad Aditya Prima 2024-12-13 19:48:40 +07:00
parent 51b046b30d
commit 1537ec6889
3 changed files with 7 additions and 11 deletions

View File

@ -16,7 +16,7 @@ ENV COMPOSER_CACHE_DIR=${COMPOSER_HOME}/cache
# Setup composer user and required directories
RUN addgroup -g 10001 composer && \
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer && \
mkdir -p ${COMPOSER_CACHE_DIR}/files && \
mkdir -p ${COMPOSER_CACHE_DIR}/repo && \
mkdir -p ${COMPOSER_CACHE_DIR}/vcs && \

View File

@ -14,12 +14,10 @@ WORKDIR /tmp
ENV COMPOSER_HOME=/usr/local/share/composer
ENV COMPOSER_CACHE_DIR=${COMPOSER_HOME}/cache
# Setup composer user
# Setup composer user and required directories
RUN addgroup -g 10001 composer && \
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer
# CREATE CACHES DIR FOR COMPOSER
RUN mkdir -p ${COMPOSER_CACHE_DIR}/files && \
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer && \
mkdir -p ${COMPOSER_CACHE_DIR}/files && \
mkdir -p ${COMPOSER_CACHE_DIR}/repo && \
mkdir -p ${COMPOSER_CACHE_DIR}/vcs && \
chown -R composer:composer ${COMPOSER_CACHE_DIR}

View File

@ -14,12 +14,10 @@ WORKDIR /tmp
ENV COMPOSER_HOME=/usr/local/share/composer
ENV COMPOSER_CACHE_DIR=${COMPOSER_HOME}/cache
# Setup composer user
# Setup composer user and required directories
RUN addgroup -g 10001 composer && \
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer
# CREATE CACHES DIR FOR COMPOSER
RUN mkdir -p ${COMPOSER_CACHE_DIR}/files && \
adduser -D -u 10001 -G composer -s /bin/sh -h /build composer && \
mkdir -p ${COMPOSER_CACHE_DIR}/files && \
mkdir -p ${COMPOSER_CACHE_DIR}/repo && \
mkdir -p ${COMPOSER_CACHE_DIR}/vcs && \
chown -R composer:composer ${COMPOSER_CACHE_DIR}