Changes between Version 16 and Version 17 of DevWikiDockerTesting


Ignore:
Timestamp:
01/30/23 10:05:05 (22 months ago)
Author:
robe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiDockerTesting

    v16 v17  
    1313{{{
    1414#To develop and test using this image, do the following
    15 docker pull docker.osgeo.org/postgis/build-test:trisquel3
     15mkdir projects
     16
     17#this container has no built in entry point to keep it running,
     18# create a fake one as discussed here - https://levelup.gitconnected.com/keep-docker-container-running-for-debugging-fc2dfa39472c
     19
     20#this might take a minute or so after download to start up
     21docker run -d \
     22  --name postgis-dev \
     23  --mount type=bind,source="$(pwd)/projects",target=/projects \
     24  docker.osgeo.org/postgis/build-test:trisquel3  tail -f /dev/null
     25
     26cd projects
     27git clone https://git.osgeo.org/gitea/postgis/postgis.git
     28
     29
     30
     31#once started you can attach to it
     32docker exec -it postgis-dev /bin/bash
     33
     34# in the postgis-dev container, you should be able to do
     35cd /projects/postgis
     36sh autogen.sh
     37./configure
     38make && make install
     39#any changes you make to your projects/postgis repo, will show here
     40
     41#in the container
     42
     43# To stop it do
     44docker stop postgis-dev
     45
     46# if you need to remove the container to get a new version do
     47
     48docker rm postgis-dev
     49
    1650}}}
    1751