Add nano util package

This commit is contained in:
Greyscale 2022-09-01 12:14:41 +02:00
parent ada9640a97
commit a03403b882
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2
3 changed files with 14 additions and 2 deletions

View file

@ -10,6 +10,7 @@ RUN echo "APT::Acquire::Retries \"5\";" > /etc/apt/apt.conf.d/80-retries && \
apt-get -qq update && \
apt-get -yqq upgrade && \
apt-get -yqq install --no-install-recommends \
nano \
curl \
xz-utils \
dos2unix \
@ -55,6 +56,7 @@ COPY start.sh /sync/start.sh
RUN composer install
ENV PATH="/sync:${PATH}"
RUN chmod +x /sync/sync /etc/service/*/run
CMD ["start.sh"]
ENTRYPOINT ["/bin/bash", "/sync/start.sh"]
#CMD ["start.sh"]
HEALTHCHECK --start-period=30s CMD /usr/local/bin/healthcheck.sh --connect
RUN ln -s /sync/vendor/bin/wait-for-mysql /usr/local/bin/wait-for-database

View file

@ -10,6 +10,7 @@ RUN apk add --no-cache runit && \
&& \
apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted gnu-libiconv \
# Packages \
nano \
curl \
tini \
php81 \
@ -57,7 +58,8 @@ COPY syncer /sync/syncer
COPY sync /sync/sync
COPY start.sh /sync/start.sh
ENV PATH="/sync:${PATH}"
CMD ["start.sh"]
ENTRYPOINT ["start.sh"]
#CMD ["start.sh"]
RUN composer install
COPY postgres_healthcheck /sync/postgres_healthcheck
HEALTHCHECK --start-period=30s CMD /sync/postgres_healthcheck

8
TODO.md Normal file
View file

@ -0,0 +1,8 @@
All:
* S3 pruner
* Push on termination
PostgreSQL:
*
MariaDB:
* upstream provided Healthcheck sets off a warning each time its called
* generated sql has varying timestamps breaking the cache hash