This commit is contained in:
Alexandre
2021-10-30 18:10:20 +02:00
parent c10339eba6
commit 9c32ff656a

View File

@@ -7,12 +7,10 @@ USER root
COPY rootfs / COPY rootfs /
RUN \ RUN \
apt-get update \
&& apt-get install -y git \
################### ###################
# Install bashio # # Install bashio #
################## ##################
&& mkdir -p /tmp/bashio \ mkdir -p /tmp/bashio \
&& curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \ && curl -L -f -s "https://github.com/hassio-addons/bashio/archive/v${BASHIO_VERSION}.tar.gz" \
| tar -xzf - --strip 1 -C /tmp/bashio \ | tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \ && mv /tmp/bashio/lib /usr/lib/bashio \
@@ -22,9 +20,9 @@ RUN \
######################## ########################
# Prepares environment # # Prepares environment #
######################## ########################
&& git clone -b develop https://github.com/freqtrade/freqtrade.git \ # && git clone -b develop https://github.com/freqtrade/freqtrade.git \
&& cd freqtrade \ # && cd freqtrade \
&& ./setup.sh --install \ # && ./setup.sh --install \
&& chmod a+x /run.sh && chmod a+x /run.sh
VOLUME [ "/data" ] VOLUME [ "/data" ]