Skip to content

Commit

Permalink
Apply linting
Browse files Browse the repository at this point in the history
  • Loading branch information
scwatts committed Mar 26, 2024
1 parent 5c15bfa commit a2c6921
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions modules/local/virusbreakend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
FROM continuumio/miniconda3:23.5.2-0-alpine as build

RUN \
conda install conda-libmamba-solver
conda install conda-libmamba-solver

RUN \
echo -e > ~/.condarc '\
echo -e > ~/.condarc '\
solver: libmamba\n\
channels:\n\
- conda-forge\n\
- bioconda\n\
- defaults'
- conda-forge\n\
- bioconda\n\
- defaults'

RUN \
conda create -y -p /env/ \
'gridss=2.13.2=h50ea8bc_3' \
'bash' \
'coreutils' \
'findutils' \
'gawk' \
'grep' \
'procps-ng' \
'time' \
'util-linux' \
'which'
conda create -y -p /env/ \
'gridss=2.13.2=h50ea8bc_3' \
'bash' \
'coreutils' \
'findutils' \
'gawk' \
'grep' \
'procps-ng' \
'time' \
'util-linux' \
'which'

RUN \
conda clean -yaf
conda clean -yaf

# Move Conda environment into distroless image
FROM gcr.io/distroless/base-debian11:latest
Expand All @@ -38,6 +38,6 @@ ENV LD_LIBRARY_PATH="/env/lib/:${LD_LIBRARY_PATH}"
# Symlink system executables as required by VIRUSBreaked
SHELL ["/env/bin/bash", "-c"]
RUN \
ln -s /env/bin/bash /bin/bash && \
ln -s /env/bin/env /usr/bin/env && \
ln -s /env/bin/time /usr/bin/time
ln -s /env/bin/bash /bin/bash && \
ln -s /env/bin/env /usr/bin/env && \
ln -s /env/bin/time /usr/bin/time

0 comments on commit a2c6921

Please sign in to comment.