6e709bc9ed
remove install deps in deploy script, centralize them
17 lines
386 B
Docker
17 lines
386 B
Docker
FROM debian:bookworm-slim
|
|
|
|
# detect DOCKER_BUILD condition/situation in install script
|
|
ENV DOCKER_BUILD true
|
|
|
|
# pre install sudo
|
|
RUN apt update && apt install sudo && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install dependencies
|
|
COPY ./install-dependencies.sh /
|
|
RUN /install-dependencies.sh \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /opt/workbench-script
|
|
|
|
ENTRYPOINT sh ./deploy-workbench.sh
|