Skip to content

Commit

Permalink
remove depreciated tag and set TZ to UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Oct 17, 2023
1 parent b36f438 commit 5c1f528
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conda-store-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM --platform=linux/amd64 condaforge/mambaforge:23.3.1-1 as base
FROM condaforge/mambaforge:23.3.1-1 as base

LABEL org.opencontainers.image.authors="conda-store development team"

ENV PATH=/opt/conda/condabin:/opt/conda/envs/conda-store-server/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}
ENV TZ=America/New_York
ENV TZ=Etc/UTC

RUN apt-get update && \

Check warning on line 8 in conda-store-server/Dockerfile

View workflow job for this annotation

GitHub Actions / Build docker images (conda-store-server)

Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
# https://docs.anaconda.org/anaconda/install/linux/#installing-on-linux
Expand Down
6 changes: 4 additions & 2 deletions conda-store/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 condaforge/mambaforge:23.3.1-1 as base
FROM condaforge/mambaforge:23.3.1-1 as base

LABEL org.opencontainers.image.authors="conda-store development team"

Expand All @@ -15,7 +15,9 @@ RUN apt-get update && \

COPY environment.yaml /opt/conda-store/environment.yaml

RUN mamba env create -f /opt/conda-store/environment.yaml && mamba clean --all -y && conda clean --force-pkgs-dirs
RUN mamba env create -f /opt/conda-store/environment.yaml && \
mamba clean --all -y && \
conda clean --force-pkgs-dirs

ENV PATH=/opt/conda/condabin:/opt/conda/envs/conda-store/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}

Expand Down

0 comments on commit 5c1f528

Please sign in to comment.