Commit Graph

14 Commits

Author SHA1 Message Date
3d567ff6f8 Docker: use variables instead of hard-coded stuff
WHEELHOUSE: since we're defining the variable we might as well use it.
DOCKER_IMAGE_NAME: introduced to prevent duplications of the name, and to
    add a little confirmation message when the script is done.
2019-05-14 10:36:15 +02:00
cfbb3d7e5a Poetry'ising the docker stuff 2019-05-14 10:36:15 +02:00
fb016c3e3b build wheels using the correct Docker image 2019-03-29 15:18:10 +01:00
c5f8add5f5 Made it easier to rebuild the Docker image after someone else built it
Because we only pushed the final image to Docker Hub, it was impossible to
pull the base image someone else created and "quickly" build a new deploy
image.

Now the deploy scripts push (some) of the intermediate images as well,
making it possible to pull them later. I've added `build-pull.sh` and
`full-pull.sh` to perform this pull and built up from the pulled images.
2019-03-13 15:47:12 +01:00
8bfb40ce54 Various Docker image upgrades, read the entire commit message!
- Ubuntu 17.10 → 18.04.
- Python 3.6.3 → 3.6.6.
- Use `DEBIAN_FRONTEND=noninteractive` to prevent prompts during
  installation.
- Install `tzdata` in the base image as it's required by subimages.
- Correctly set maintainer in Dockerfile.
2018-08-30 12:53:34 +02:00
7cb4b37ae2 Renamed some docker files to Dockerfile
This makes it simpler to manage by using the default name. It also helps
my editor to recognise the file and highlight it properly.
2018-03-23 12:42:56 +01:00
57aeea337b Switch from id --group id -g
This makes the script compatible with macOS.
2017-04-11 12:34:07 +02:00
d2d04b2398 Docker: added missing libraries for JPEG and PNG support in Pillow. 2017-03-09 15:30:32 +01:00
85c2b1bcd6 Docker: stop on errors in 3_buildwheels/build.sh 2017-03-09 11:01:36 +01:00
06cc338b08 Docker: always apt-get update before apt-get install 2017-03-09 11:00:21 +01:00
2f6049edee Docker images: renamed pillar_py:3.6 to armadillica/pillar_py:3.6
This allows us to push the Python image to Docker Hub.
2017-03-08 13:55:02 +01:00
9fe7d7fd2b WIP: More docker tweaks 2017-03-08 12:35:35 +01:00
faf38dea7e Uncommented some accidentally commented-out stuff 2017-03-07 23:00:10 +01:00
d7e4995cfa WIP: more work on the docker structure, still not finished with 4_run
1_base: builds a base image, based on Ubuntu 16.10
2_buildpy: builds two images:
	2a: an image that can build Python 3.6
	2b: an image that contains the built Python 3.6 in /opt/python
3_buildwheels: builds an image to build wheel files, puts them in ../4_run
4_run: the production runtime image, which can't build anything and just runs.
2017-03-07 22:41:05 +01:00