Skip to content

Commit

Permalink
add update for apt (#2290)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriupredoi authored Sep 8, 2021
1 parent f1d0c3a commit f43e481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# docker build -t esmvaltool:latest . -f docker/Dockerfile
FROM continuumio/miniconda3

RUN apt install julia -y && apt-get clean
RUN apt-get update && apt install julia -y && apt-get clean
COPY ./environment.yml /src/ESMValTool/environment.yml
WORKDIR /src/ESMValTool
RUN conda update -y conda && conda env create --name esmvaltool --file environment.yml && conda clean --all -y
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# docker build -t esmvaltool:development . -f docker/Dockerfile.dev
FROM continuumio/miniconda3

RUN apt install julia -y && apt-get clean
RUN apt-get update && apt install julia -y && apt-get clean
COPY ./environment.yml /src/ESMValTool/environment.yml
WORKDIR /src/ESMValTool
RUN conda update -y conda && conda env create --name esmvaltool --file environment.yml && conda clean --all -y
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# docker build -t esmvaltool:experimental . -f docker/Dockerfile.exp
FROM esmvalgroup/esmvalcore:latest

RUN apt install julia -y && apt-get clean
RUN apt-get update && apt install julia -y && apt-get clean
COPY ./environment.yml /src/ESMValTool/environment.yml
WORKDIR /src/ESMValTool
RUN conda update -n base -y conda && conda env update --name esmvaltool --file environment.yml && conda clean --all -y
Expand Down

0 comments on commit f43e481

Please sign in to comment.