Skip to content

Commit

Permalink
Revert "Dockerfile: move to Alpine"
Browse files Browse the repository at this point in the history
  • Loading branch information
ProducerMatt authored Jun 19, 2023
1 parent 381f9fe commit 9b55394
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM continuumio/miniconda3:master-alpine
FROM continuumio/miniconda3


RUN apk update
RUN apk upgrade
RUN apk add bash git
RUN apk add gcc # TODO: only run when not on x64
# TODO: only run when not on x64
RUN apt-get update
RUN apt-get install gcc -y

RUN mkdir /stampydata
WORKDIR /stampy
Expand All @@ -14,7 +12,7 @@ COPY environment.yml .
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip conda env create -f environment.yml

# Make RUN commands use the new environment:
RUN echo "conda activate stampy" >> ~/.profile
RUN echo "conda activate stampy" >> ~/.bashrc
SHELL ["/bin/bash", "--login", "-c"]
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip conda activate stampy && conda install pytest

Expand Down

0 comments on commit 9b55394

Please sign in to comment.