Skip to content

Commit

Permalink
fix Dockerfile per snyk issues
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Oct 23, 2024
1 parent 74c53a1 commit c97933a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions workflows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM openjdk:8-jdk as buildContainer
FROM ubuntu:latest as buildContainer
WORKDIR "/opt/stitcher"

RUN apt update
RUN apt-get update
RUN apt-get install -y openjdk-8-jdk
RUN apt-get install sudo
RUN apt-get install nano
RUN sudo apt-get install graphviz -y
RUN sudo apt-get install zip
RUN sudo apt-get install -y zip
RUN apt-get install apt-transport-https curl gnupg -yqq
RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
Expand All @@ -32,5 +33,6 @@ RUN pip install snakemake
RUN pip install pulp==2.7
RUN pip install xlrd

ENV SBT_OPTS="-Dsbt.rootdir=true"
CMD export PATH=${HOME}/edirect:${PATH} && bash
#CMD snakemake --cores=all

0 comments on commit c97933a

Please sign in to comment.