Skip to content

Commit

Permalink
only use one build stage in Dockerfile. natcap#1560
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed Apr 19, 2024
1 parent da68977 commit a7d9ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
FROM debian:12.2 as build
ARG INVEST_VERSION="main"
ARG INVEST_REPO="natcap/invest"
RUN apt update && apt install -y python3 python3-dev python3-pip python3-build build-essential git python3.11-venv

# Create the container for distribution that has runtime dependencies.
FROM mambaorg/micromamba:1.5.0-bookworm-slim
RUN apt update && apt install -y git
RUN cd / && \
git clone https://github.com/${INVEST_REPO}.git && \
cd $(basename ${INVEST_REPO}) && \
Expand Down

0 comments on commit a7d9ca1

Please sign in to comment.