We going to have a AWS Lambda function (python3) created with Docker container (Elastic Container Registry) When test the Lambda function, we have an error Unable to import module ‘app’: No module named ‘distutils.util’ What is wrong with Dockerfile? ARG FUNCTION_DIR="/function" FROM osgeo/gdal:ubuntu-small-latest as build-image RUN apt-get update && apt-get install -y g++ make cmake ..
I have the following commands in DockerFile # Use the official image as a parent image. FROM ubuntu:18.04 #FROM node:10.18.0 # Install Node.js RUN apt-get update && apt-get install -y wget build-essential software-properties-common # install node version 10.18, need to use this specific # version since it is the version that works with mapnik RUN ..
I’m trying to build a custom docker image with version 3.3.0 of gdal, but am however struggling to find the command or series of commands to do so. My current docker file installs gdal-3.0.4 Dockerfile: FROM ubuntu:focal RUN apt-get update RUN apt-get -y install curl gnupg wget RUN curl -sL https://deb.nodesource.com/setup_12.x | bash – # ..
I have a Python project with Docker that uses gdal package. For pretty long time everything were ok, but now I get an error while building an image: My Dockerfile: FROM python:3.6.8-alpine3.10 ENV PYTHONUNBUFFERED 1 RUN mkdir /app WORKDIR /app ADD requirements.txt /app/ RUN apk update && apk add –repository http://dl-cdn.alpinelinux.org/alpine/edge/community –repository http://dl-cdn.alpinelinux.org/alpine/edge/main geos gdal ..
I’m trying to use lambGeo docker-lambda (https://github.com/lambgeo/docker-lambda) but when I try to build with sam in Cloud9 it’s give the error #include "cpl_conv.h" ^~~~~~~~~~~~ compilation terminated. error: command ‘gcc’ failed with exit status 1 ERROR: Failed building wheel for rasterio My docker file is: FROM lambgeo/lambda-gdal:3.3-al2 as gdal # We use lambci docker image for ..
The problem is: Docker doesn’t run properly because of OSError: /opt/homebrew/Cellar/gdal/3.3.0_2/lib/libgdal.dylib: cannot open shared object file: No such file or directory. My current task is just to add GeoDjango to my existing Django dockerized project, with PostGIS database. I installed postgis image with postgis/postgis. I Butguess something went wrong because of the incorrect gdal installation. ..
I’m trying to install GDAL in a docker container running the CVAT tool. The base docker file can be found here https://github.com/openvinotoolkit/cvat/blob/develop/Dockerfile . I modified it to add GDAL using several recommended ways but always seems to run into errors. This is the current modification I made in the dockerfile for GDAL which still fails. ..
I am using R studio in docker . I have install libraries in docker by using docker hub.but failed . Below is the error i am facing Error: package or namespace load failed for ‘geojsonio’ in dyn.load(file, DLLpath = DLLpath, …): unable to load shared object ‘/usr/local/lib/R/site-library/rgeos/libs/rgeos.so’: libgeos_c.so.1: cannot open shared object file: No such ..
I am using R in docker . I have install libraries in docker by using docker hub.but failed . Below is the error i am facing Error: package or namespace load failed for ‘geojsonio’ in dyn.load(file, DLLpath = DLLpath, …): unable to load shared object ‘/usr/local/lib/R/site-library/rgeos/libs/rgeos.so’: libgeos_c.so.1: cannot open shared object file: No such file ..
To make sure our flask application has GDAL we use docker to make sure all dependency’s are there on the final product. We developed it in Visual Studio IDE with Python Flask Jinja project template. To make things easier for a docker setup I switched over to Visual Studio code, and I am using the ..