Skip to content

Commit

Permalink
ci: fix docker build with memcached (#6993)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Oct 31, 2023
1 parent a75643a commit 511cb5d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
###
### This file is used for dev purpose.
### The standard monica image definition will be found here: https://github.com/monicahq/docker
### This file is based off of the `apache` variant in the above mentioned repo
### This file is based on the `apache` variant in the above mentioned repo
###

## Build assets
Expand All @@ -13,7 +13,7 @@ WORKDIR /var/www/html
COPY . ./
RUN set -ex; \
\
yarn install; \
yarn install --immutable; \
yarn run build


Expand Down Expand Up @@ -48,8 +48,9 @@ RUN set -ex; \
libjpeg62-turbo-dev \
libgmp-dev \
libmemcached-dev \
libmagickwand-dev \
libssl-dev \
libwebp-dev \
libcurl4-openssl-dev \
; \
\
debMultiarch="$(dpkg-architecture --query DEB_BUILD_MULTIARCH)"; \
Expand Down Expand Up @@ -99,7 +100,7 @@ RUN set -ex; \
\
mkdir -p /var/spool/cron/crontabs; \
rm -f /var/spool/cron/crontabs/root; \
echo '*/5 * * * * php /var/www/html/artisan schedule:run -v' > /var/spool/cron/crontabs/www-data
echo '* * * * * php /var/www/html/artisan schedule:run -v' > /var/spool/cron/crontabs/www-data

# Opcache
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
Expand Down Expand Up @@ -159,7 +160,6 @@ RUN set -ex; \

WORKDIR /var/www/html


# Copy the local (outside Docker) source into the working directory,
# copy system files into their proper homes, and set file ownership
# correctly
Expand Down

0 comments on commit 511cb5d

Please sign in to comment.