Skip to content

Commit bde7647

Browse files
committed
update dockerfile for running buster debian which is now in archive
1 parent cc20873 commit bde7647

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# start with miniconda3 as build environment
2-
FROM condaforge/mambaforge AS build
2+
FROM continuumio/miniconda3 AS build
33

44
# Update, install mamba and conda-pack:
5-
RUN mamba install -n base --yes conda-pack
5+
RUN conda update -n base -c defaults --yes conda && \
6+
conda install -c conda-forge -n base --yes mamba conda-pack
67

78
# Install funannotate deps from bioconda
89
# here specifying specific versions to be able to set ENV below
@@ -37,6 +38,10 @@ FROM debian:buster AS runtime
3738
# Copy /venv from the previous stage:
3839
COPY --from=build /venv /venv
3940

41+
RUN rm /etc/apt/sources.list
42+
RUN echo 'deb http://archive.debian.org/debian buster main contrib non-free' >> /etc/apt/sources.list
43+
RUN echo 'deb http://archive.debian.org/debian buster-updates main contrib non-free' >> /etc/apt/sources.list
44+
RUN echo 'deb http://archive.debian.org/debian-security buster/updates main contrib non-free' >> /etc/apt/sources.list
4045
# Install debian snap via apt-get
4146
RUN apt-get update && apt-get install -y snap augustus augustus-data locales locales-all libgl1 procps && \
4247
rm -rf /var/lib/apt/lists/* && \

0 commit comments

Comments
 (0)