dev #2

Merged
pi-farm merged 82 commits from dev into main 2026-03-25 10:05:59 +00:00
Showing only changes of commit 5b67ad4d20 - Show all commits

View File

@@ -14,15 +14,19 @@ LABEL org.opencontainers.image.title="${BUILD_APP_NAME}"
ENV TZ=${ENV_TZ} ENV TZ=${ENV_TZ}
RUN apt update && \ RUN apt update && \
apt install wget && \ apt install -y git build-essential cmake curl ninja-build ccache git libcurl4-openssl-dev libevent-dev ruby libtbb-dev && \
wget https://github.com/oschonrock/hibp/releases/download/v${BUILD_TAG}/hibp_${BUILD_TAG}-1_amd64.deb -o hibp_${BUILD_TAG}_amd64.deb && \ git clone ${BUILD_APP_GIT} /app && \
apt install ./hibp_${BUILD_TAG}-1_amd64.deb && \ cd /app && \
rm -f hibp_${BUILD_TAG}-1_amd64.deb 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 WORKDIR /app
#RUN adduser -D ${BUILD_APP_USER} && chown -R ${BUILD_APP_USER}:${BUILD_APP_USER} /app
USER ${BUILD_APP_USER} USER ${BUILD_APP_USER}
CMD ["bash"] CMD ["init"]