dev #2
18
Dockerfile
18
Dockerfile
@@ -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"]
|
||||
Reference in New Issue
Block a user