Add defaults to makefile to build docker image (#2701)

This commit is contained in:
Karthik Venkataramani 2023-01-20 07:30:48 -08:00 committed by GitHub
parent 2fb7802b42
commit 652e6154ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,6 @@
ARG GDAL=ubuntu-small-3.3.3
ARG PYTHON_VERSION=3.8
FROM osgeo/gdal:${GDAL} AS gdal
ARG PYTHON_VERSION
ARG PYTHON_VERSION=3.8
ENV LANG="C.UTF-8" LC_ALL="C.UTF-8"
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:deadsnakes/ppa

View File

@ -1,3 +1,5 @@
PYTHON_VERSION ?= 3.8
GDAL ?= ubuntu-small-3.3.3
all: deps clean install test
.PHONY: docs