chore: add Yq
This commit is contained in:
@@ -7,12 +7,14 @@ ARG DEBIAN_FRONTEND=noninteractive
|
||||
ENV VERSION="0.1"
|
||||
ARG TEMP_DIR=/temp
|
||||
RUN apt-get update -qq \
|
||||
&& apt-get install -qqy apt-transport-https ca-certificates curl gnupg2 software-properties-common jq git build-essential libcurl4-openssl-dev libxml2-dev mime-support s3fs -y
|
||||
&& apt-get install -qqy apt-transport-https ca-certificates curl gnupg2 software-properties-common jq git wget supervisor build-essential libcurl4-openssl-dev libxml2-dev mime-support s3fs -y
|
||||
RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
|
||||
|
||||
RUN curl https://get.docker.com/ > dockerinstall && chmod 777 dockerinstall && ./dockerinstall
|
||||
|
||||
|
||||
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
|
||||
|
||||
# Clear cache
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@@ -44,3 +46,7 @@ RUN chmod +x /usr/local/bin/s3-mount.sh
|
||||
|
||||
RUN ln -s /usr/local/bin/s3-mount.sh /usr/local/bin/s3-mount
|
||||
RUN ln -s /usr/local/bin/backup.sh /usr/local/bin/backup
|
||||
|
||||
ADD src/supervisord.conf /etc/supervisor/supervisord.conf
|
||||
|
||||
CMD ["/usr/bin/supervisord"]
|
||||
5
src/supervisord.conf
Normal file
5
src/supervisord.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
user=root
|
||||
logfile=/var/log/supervisor/supervisord.log
|
||||
pidfile=/var/run/supervisord.pid
|
||||
Reference in New Issue
Block a user