Skip to content

Commit dba3732

Browse files
authored
fix: make apt-get update work all the time (#51)
1 parent 4bb2f5a commit dba3732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-build/Dockerfile.ddev-cron

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#ddev-generated
22
# Install cron package; this can be done in webimage_extra_packages, but put it here for now.
3-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests cron
3+
RUN (apt-get update || true) && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confold" --no-install-recommends --no-install-suggests cron
44

55
# Copy our custom config
66
COPY ./cron.conf /etc/supervisor/conf.d/cron.conf

0 commit comments

Comments
 (0)