Skip to content

Commit

Permalink
Add container to verify that the pgimp installation works
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasburger committed Oct 3, 2020
1 parent d2eb0d1 commit c8c0899
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,11 @@ Package and upload:
./packaging.sh
./packaging-upload.sh
```

## Verify that the package can be installed from pypi

Ubuntu
```
docker-compose build pgimp-ubuntu-20.04
docker-compose build pgimp-ubuntu-20.04-installation
```
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ services:
volumes:
- ./:/src
shm_size: '256m'
pgimp-ubuntu-20.04-installation:
build:
context: .
dockerfile: test/installation/linux/ubuntu/20.04/Dockerfile
image: mabu/pgimp-ubuntu-20.04:latest
volumes:
- ./:/src
pgimp-centos-7.4:
build:
context: .
Expand Down
6 changes: 6 additions & 0 deletions test/installation/linux/ubuntu/20.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM mabu/pgimp-ubuntu-20.04:latest
MAINTAINER [email protected]

RUN pip3 install pgimp

CMD ["python3"]

0 comments on commit c8c0899

Please sign in to comment.