This is a collection of Dockerfiles maintained by the Kiwi.com Platform Team.
The images are built automatically by Docker Hub for the :latest tag,
with updates of the base image triggering rebuilds.
python:3.6-alpine3.7We use this in CI to run Ansible playbooks.
awscliWe use this to use AWS cli from Docker.
python:3.7-alpineblackImage used to format python code using pre-commit hooks and to check if all the files are correctly formatted on CI.
pre-commit hook example:
- repo: local
hooks:
- id: black
name: black-code-formatter
language: docker_image
entry: --entrypoint black kiwicom/black:18.9b0
types: [python]
GitLab CI example:
code-format:
stage: build
image: kiwicom/black:18.9b0
script:
- black --check .
CLI usage example:
docker run -ti -v "$(pwd)":/src -v "$(pwd)/.blackcache":/home/black/.cache --workdir=/src kiwicom/black:18.9b0 black .
alpine:3.6curl, jq, ca-certificatesWe use this mostly in our GitLab CI or otherwise automated tasks. It's useful when the task is about making or parsing HTTPS requests.
node:8-slimcypress-cli and dependencies from aptThis is a container with cypress.io we use to automate our frontend tests.
docker:18.02goss is a tool for quick and easy server validation.
We use in CI to to start a container and test if it responds on a certain endpoint.
.misc/goss/goss.yaml examplehttp:
http://localhost/ping:
status: 200
timeout: 100 # milliseconds
body:
- pong
.gitlab-ci.yml examplegoss:
image: kiwicom/dgoss
variables:
GOSS_FILES_PATH: .misc/goss
GOSS_FILES_STRATEGY: cp
script:
- docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA && dgoss run $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
alpine:3.5docker, curl, Spotify's docker-gc, and a script to remove dangling volumes.We use this to cleanup docker garbage. It removes more garbage than docker system prune. Mostly for dev machines purposes.
Usage is docker run -v/var/run/docker.sock:/var/run/docker.sock kiwicom/docker-cleanup
docker:1.12tiniThis image runs crond in the foreground
It takes a CRONTAB environment variable such as 37 13 * * * * echo hi, to print hi everyday at 13:37 UTC.
alpine:3.5docker, Spotify's docker-gcThis is a copy of clockworksoul's docker-gc-cron, which is maintained in our GitHub repo for security.
Requires the /var/run/docker.sock socket mounted.
docker.elastic.co/elasticsearch/elasticsearch:5.2.2analysis-icuWe use this for integration tests in CI, as a GitLab CI service.
alpine:3.6flow, and its dependenciesWe use this in CI to check JavaScript code's type correctness, mounting code to /app and running flow check --show-all-errors.
datadog/agent:6.3.3A Datadog Agent image that collects metrics exposed by GitLab and GitLab CI.
python:3.7-alpine3.8mypyImage used to type-check python code using pre-commit hooks and in CI.
pre-commit hook example:
- repo: local
hooks:
- id: mypy
name: mypy-type-checks
language: docker_image
entry: --entrypoint mypy kiwicom/mypy:0.620
types: [python]
GitLab CI example:
type-checks:
stage: build
image: kiwicom/mypy:0.620
script:
- mypy -p kw
CLI usage example:
docker run -ti -v "$(pwd)":/src --workdir=/src kiwicom/mypy:0.620 mypy -p kw
nginx:alpineWe use this to redirect http to https in Rancher.
node:9-alpinensmWe use this in CI to check security issues of Node.js dependencies.
buildpack-deps:jessie-curlWe use this as reverse proxy that provides authentication with Gitlab or other provider.
Source: https://github.com/chauffer/dockerfiles/tree/master/oauth2-proxy
python:3.6-alpineWe use this mostly to programmatically create stacks in Rancher.
alpine:3.5s3fs 1.82 and dependenciesThis is a pretty cool image. :snowman: It's a containerized SFTP server with S3 as a backend for storage.
Check the entrypoint file to see how it works.
docker from apk, python s3cmdWe use this to copy static files from Docker images and put them onto S3 which serves them.
Like above, but no docker.
Like above, but s4cmd instead of s3cmd
sentrysentry-auth-gitlab, datadogOur own sentry image. With GitLab SSO support
openjdk:8-alpinesonarqube-developerBecause of the bug SONAR-9384 we were experiencing many problems in our CI pipelines so we needed to upgrade our Sonarqube docker image. As Sonarqube doesn't offer a docker image for 7.2 we decided to build our own.
The usage is the same as with the official image
openjdk:8-jre-alpinesonar-scannerWe use this to scan code for SonarQube. It assumes it's running on GitLab CI.
Usage: $ scan list,of,dirs or $ preview list,of,dirs for preview mode.
Requires setting SONARQUBE_URL
alpine:3.8tox, pyenv and its dependenciesImage that allows running tox tests on multiple python versions.
Content type
Image
Digest
Size
44.8 MB
Last updated
over 7 years ago
docker pull kiwicom/dgoss