WIP: Draft: Resolve "Use gnumake for uniform dev build system and GitLab CI" #213

Draft
savau wants to merge 540 commits from 145-build-system-rewrite into master
Showing only changes of commit 42cc5cc4a2 - Show all commits

View File

@ -1,16 +1,14 @@
# TODO: switch to uniworx registry debian image
FROM debian:12.5
RUN apt-get -y update
FROM registry.uniworx.de/uniworx/containers/debian:12.5
# Basic dependencies
RUN apt-get -y install curl npm
RUN apt-get -y update && apt-get -y install curl npm
# Build and watch dependencies
RUN apt-get -y install exiftool
RUN apt-get -y update && apt-get -y install exiftool
# Test dependencies
RUN apt-get -y install chromium
RUN apt-get -y update && apt-get -y install chromium
ENV CHROME_BIN=chromium
# TODO: use dotenv for npm version?
@ -19,7 +17,7 @@ RUN n 20.17.0
ARG PROJECT_DIR=/fradrive
RUN mkdir -p ${PROJECT_DIR}
RUN cp -r /tmp/${PROJECT_DIR}/* ${PROJECT_DIR}
RUN cp -r /tmp${PROJECT_DIR}/* ${PROJECT_DIR}
WORKDIR ${PROJECT_DIR}
ENV HOME=${PROJECT_DIR}