Skip to content

Commit

Permalink
another Dockerfile test
Browse files Browse the repository at this point in the history
  • Loading branch information
agila5 committed Oct 31, 2024
1 parent ae9e201 commit 2394ba0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"build": { "dockerfile": "Dockerfile" }
"build": { "dockerfile": "Dockerfile"}
}
27 changes: 7 additions & 20 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
FROM ghcr.io/osgeo/gdal:ubuntu-full-latest
FROM ubuntu:22.04
# minimal docker file to get sp and sf running on ubunty 16.04 image,
# using gdal/geos/proj from ppa:ubuntugis/ubuntugis-unstable

# MAINTAINER "edzerpebesma" [email protected]

RUN apt-get update && apt-get install -y software-properties-common dirmngr
RUN add-apt-repository ppa:ubuntugis/ubuntugis-unstable

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

# add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed
RUN add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"

Expand Down Expand Up @@ -32,22 +38,3 @@ RUN export DEBIAN_FRONTEND=noninteractive; apt-get -y update \
vim \
tk-dev \
wget

RUN apt-get update && apt-get install -y --fix-missing \
libjq-dev \
libprotobuf-dev \
libxml2-dev \
libprotobuf-dev \
protobuf-compiler \
unixodbc-dev \
libssh2-1-dev \
libgit2-dev \
libnetcdf-dev \
locales \
libssl-dev \
libtiff-dev \
cmake \
libtiff5-dev \
libopenjp2-7-dev

RUN locale-gen en_US.UTF-8

0 comments on commit 2394ba0

Please sign in to comment.