Git Product home page Git Product logo

gdal-dockerfile-generator's Introduction

Build Instructions:

About

Often I struggle coming up with a docker image containing a specific version of GDAL.

I built this simple UI that lets you select the:

  1. Ubuntu container version
  2. GDAL version
  3. Python Version

Once the variables are selected, the generated Dockerfile will build a docker image. The instructions below outline what to do with the generated Dockerfile content.

View Application

Generate your preferred Dockerfile

On the App interface, select your preferred versions, Click on the Generate Dockerfile button to generate the result.

Click on the copy button to copy the generated content, you may also highlight your preferred sections and paste on a Dockerfile file on your machine.

follow instructions below on how to build the image, run it and verify that GDAL has been installed.

Build the Docker Image:

docker build -t my_container:latest -f path/Dockerfile .

The command above builds a Docker image tagged as my_container:latest using the Dockerfile located in the provided path. Ensure you have selected the preferred Python and GDAL versions in your Dockerfile.

Run the Container:

docker run -it --rm my_container:latest /bin/bash

The command above runs the Docker container interactively, removing it (--rm) after exiting. The /bin/bash ensures you have a shell inside the container for further interaction. Exit the container shell when done inspecting the container.

Check GDAL Version:

docker run -it --rm my_container:latest gdalinfo --version

Use the command above to verify the installed GDAL version within the container.

gdal-dockerfile-generator's People

Contributors

waracci avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.