Dockerfile aktualisiert
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -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"]
|
||||||
Reference in New Issue
Block a user