Created
July 8, 2021 14:25
-
-
Save prl900/b9ee3c85af4dd626e8b62541cae34937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the offical golang image to create a binary. | |
# This is based on Debian and sets the GOPATH to /go. | |
# https://hub.docker.com/_/golang | |
FROM golang:1.15-buster as builder | |
RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/* | |
RUN wget \ | |
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | |
&& mkdir /root/.conda \ | |
&& bash Miniconda3-latest-Linux-x86_64.sh -b \ | |
&& rm -f Miniconda3-latest-Linux-x86_64.sh | |
RUN /root/miniconda3/bin/python --version | |
RUN /root/miniconda3/bin/conda install -y -c conda-forge gdal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment