You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
codefirst-docdeployer/Dockerfile

20 lines
540 B

FROM debian:bookworm
LABEL author="Maxime Batista"
RUN apt-get update && apt-get -y install ssh rsync doxygen wget \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/local
RUN wget -qO- 'https://github.com/rust-lang/mdBook/releases/download/v0.4.28/mdbook-v0.4.28-x86_64-unknown-linux-gnu.tar.gz' | tar xvz -C /usr/local/bin
RUN mkdir -p /root/.ssh
COPY ./id_rsa /root/.ssh/
RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/*
COPY entrypoint.sh /
COPY generators /generators
RUN chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]