2018-02-06 02:51:36 +01:00
|
|
|
ARG DEV_ENV_IMAGE
|
|
|
|
|
|
|
|
|
|
FROM ${DEV_ENV_IMAGE} AS db_builder
|
|
|
|
|
ARG NUM_PARALLEL_JOBS=1
|
|
|
|
|
|
|
|
|
|
COPY . /source
|
2019-01-08 19:05:34 +01:00
|
|
|
RUN cd /source && make -j${NUM_PARALLEL_JOBS} --output-sync=target --warn-undefined-variables build && make env
|
2019-01-08 18:00:22 +01:00
|
|
|
RUN bash -c ". /source/database/artix7/settings.sh; cd /source/fuzzers && make --output-sync=target --warn-undefined-variables"
|
2019-01-08 08:09:49 +01:00
|
|
|
#RUN find /source/database -mindepth 1 -maxdepth 1 -type d -exec /source/htmlgen/htmlgen.py --settings={}/settings.sh --output=/output/html \;
|
2018-02-06 02:51:36 +01:00
|
|
|
RUN mkdir -p /output/raw && find /source/database -mindepth 1 -maxdepth 1 -type d -exec cp -R {} /output/raw \;
|
|
|
|
|
|
2018-02-27 19:12:10 +01:00
|
|
|
FROM amd64/nginx:alpine
|
2018-02-06 02:51:36 +01:00
|
|
|
COPY --from=db_builder /output /usr/share/nginx/html
|