Skip to content

Instantly share code, notes, and snippets.

@prl900
Created July 8, 2021 14:25
Show Gist options
  • Save prl900/b9ee3c85af4dd626e8b62541cae34937 to your computer and use it in GitHub Desktop.
Save prl900/b9ee3c85af4dd626e8b62541cae34937 to your computer and use it in GitHub Desktop.
# 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