Dockerfile aktualisiert

This commit is contained in:
2026-03-24 14:56:49 +00:00
parent 9d6547e198
commit 5b67ad4d20

View File

@@ -14,15 +14,19 @@ 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 -y 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 ../.. && \
./build.sh -c gcc -b release && \
apt remove -y --purge git build-essential cmake curl ninja-build ccache git libcurl4-openssl-dev libevent-dev ruby libtbb-dev
WORKDIR /app
#RUN adduser -D ${BUILD_APP_USER} && chown -R ${BUILD_APP_USER}:${BUILD_APP_USER} /app
USER ${BUILD_APP_USER}
CMD ["bash"]
CMD ["init"]