Commit 364bb231 authored by ∞'s avatar 💻

Add docker image

parent 8104554c
Pipeline #5584 failed with stage
in 10 minutes and 27 seconds
......@@ -28,3 +28,6 @@ php:
builder:
<<: *build
docker:
<<: *build
FROM docker.io/node:10-alpine
ENV PYTHONIOENCODING UTF-8
ENV PYTHONUNBUFFERED 1
ENV DEBUG 1
RUN apk update && apk --no-cache upgrade && apk --no-cache add --virtual build-deps curl python3 py3-lxml py3-psycopg2 py3-pillow bash git diffutils libffi-dev py3-cffi python3-dev gcc musl-dev openssl-dev make gettext util-linux openssh docker
RUN ln -sfn /usr/bin/pip3 /usr/bin/pip
RUN ln -sfn /usr/bin/python3 /usr/bin/python
ADD bin/* /bin/
RUN pip --no-cache install --upgrade pip
ADD requirements.txt /requirements.txt
ARG CACHEBUST=1
RUN pip --no-cache install --upgrade -r /requirements.txt
yourlabs/python container image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yourlabs/python container image is based on node:10-alpine and as
such as an up to date node and npm stack as well, it is built daily
and meant for use in .gitlab-ci.yml and the like to automate stuff.
Automation tools:
- Ansible
- Playlabs
- clilabs django CLI CRUD for automation and other temp hacks :D
Deployment commands:
- pypi-release command that runs gettext (requires TWINE_USER/TWINE_PASS)
- twine
- sentry-cli
Test stack:
- pytest
- pytest-cov
- pytest-django
- pytest-mock
- tox
QA stack:
- flake8
- flake8-debugger
- pep8
- mccabe
Build tools:
- build toolchain
- cffi
- gettext
- gcc
- make
Image is unstable material: will change very often as we refine it.
ansible
bigsudo
compoctl
docker-compose
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment