diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 4f6fa5a..e118b06 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -6,6 +6,7 @@ ARG BUILD_MAINTAINER ARG BUILD_TZ ARG BUILD_APP_NAME ARG BUILD_APP_USER +ARG BUILD_APP_GIT ARG ENV_TZ LABEL maintainer="${BUILD_MAINTAINER}" @@ -14,10 +15,14 @@ LABEL org.opencontainers.image.title="${BUILD_APP_NAME}" ENV TZ=${ENV_TZ} RUN apt update && \ - apt install wget && \ - wget https://github.com/oschonrock/hibp/releases/download/v${BUILD_TAG}/hibp_${BUILD_TAG}-1_amd64.deb -o hibp_${BUILD_TAG}_amd64.deb && \ - apt install ./hibp_${BUILD_TAG}-1_amd64.deb && \ - rm -f hibp_${BUILD_TAG}-1_amd64.deb + apt install git build-essential cmake curl ninja-build ccache git libcurl4-openssl-dev libevent-dev ruby libtbb-dev && \ + git clone ${BUILD_APP_GIT} /app && \ + cd /app && \ + git submodule update --init --recursive && \ + cd ext/restinio && \ + gem install Mxx_ru && \ + mxxruexternals && \ + cd ../.. WORKDIR /app