Skip to content

Commit

Permalink
Squash layers (Bioconductor#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud authored Feb 10, 2024
1 parent 5e94b3b commit 4855785
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
FROM ubuntu:jammy
FROM ubuntu:jammy as build
ARG CYCLE=release
RUN useradd -ms /bin/bash biocbuild && apt update -qq && apt install sudo systemd -y && usermod -aG sudo biocbuild && echo "biocbuild ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER biocbuild
COPY . /home/biocbuild/bioconductor_salt
WORKDIR /home/biocbuild
RUN bash bioconductor_salt/startup_bbs_standalone_${CYCLE}.sh

FROM ubuntu:jammy as final
COPY --from=build / /
ENTRYPOINT ["/bin/bash", "-c"]
CMD ["/bbs_r_start"]

0 comments on commit 4855785

Please sign in to comment.