Skip to content

Commit

Permalink
Dockerfile improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
dialvarezs committed Oct 2, 2021
1 parent 996abcd commit dd00da8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
7 changes: 5 additions & 2 deletions containers/artic-ncov2019/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND="noninteractive"

COPY VERSION /root/VERSION

RUN apt update && apt upgrade -y
RUN apt install -y wget
RUN apt-get update && apt upgrade -y \
&& apt-get install -y wget \
&& rm -fr /var/lib/apt/lists/*

# download primer schemes for nCoV-2019
RUN mkdir /opt/artic-ncov2019
Expand Down
7 changes: 5 additions & 2 deletions containers/nextclade/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND="noninteractive"

COPY VERSION /root/VERSION

RUN apt update && apt upgrade -y
RUN apt install -y wget
RUN apt-get update && apt upgrade -y \
&& apt-get install -y wget \
&& rm -fr /var/lib/apt/lists/*

RUN wget https://github.com/nextstrain/nextclade/releases/download/$(cat /root/VERSION)/nextclade-Linux-x86_64 \
-O /usr/local/bin/nextclade
Expand Down
9 changes: 6 additions & 3 deletions containers/pandas-scibioxl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND="noninteractive"

COPY requirements.txt /root/requirements.txt

RUN apt update && apt upgrade -y
RUN DEBIAN_FRONTEND="noninteractive" apt install -y python3 python3-pip unoconv
RUN apt-get update && apt upgrade -y \
&& apt-get install -y python3 python3-pip unoconv \
&& rm -fr /var/lib/apt/lists/*

RUN pip3 install -r /root/requirements.txt
RUN pip3 install --no-cache-dir -r /root/requirements.txt

0 comments on commit dd00da8

Please sign in to comment.