1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-11-27 02:18:23 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
João Marques
2ad5a8c080 Update image template to v0.1.3 2021-01-26 10:27:45 +00:00
João Marques
f1de9a0ccf
Merge pull request #40 from Tecnativa/migrate-to-template
Apply image template
2021-01-26 09:52:37 +00:00
João Marques
49c962b048 Apply image template
TT27819
2021-01-26 09:49:46 +00:00
Jairo Llopis
74c627bb27 Fix build
- Update labels to match those from https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys
- Add missing build args.
- Remove unneeded python (which was failing to install, BTW) from the image.
- Remove `hooks` folder, which was used to build the image automatically in the Docker Hub. It's done in GitHub Actions now.
2020-12-14 09:16:47 +00:00
Jairo Llopis
144ea28cf3 Fix README formatting
Regression introduced in 492bfa465a.
2020-12-14 09:16:47 +00:00
Jairo Llopis
492bfa465a
Update instructions about container images
Fix #37 by clearly advertising which is our main container image registry and what tags are supported.
2020-12-14 08:42:03 +00:00
Jairo Llopis
baea7eefad Allow commits to master
This will fix CI when being run in master.

See https://github.com/Tecnativa/docker-socket-proxy/runs/1529426822.
2020-12-11 08:22:11 +00:00
João Marques
e84babd1c4
Add tests and CI (#34)
* Add first version of tests

From https://github.com/Tecnativa/docker-socket-proxy/pull/14

* Expand tests

* Add GH CI

* Apply suggestions

* Apply autopretty template + fix prettier

* Fix isort

* Apply autoprettier

* Fix VSCode settings

* Make tests run in parallel

* Build docker image before testing

* Update workspace settings

* Try multi-platform builds and push to ghcr.io

* Push to docker hub as well from ci

* Upgrade autopretty

* Update pyproject configurations

* Improve test configuration and execution

TT26468

* Provide initial conftest

* Improve tests

* Add python3 in image

* Remove POST rule from proxy

* Build image before testing and push at the end

Builds the image (in single arch) before testing
Loads the image into local docker (See https://github.com/docker/build-push-action#export-image-to-docker)
Rebuilds and pushes the final image in multi-arch at the end.

* Fix python path

* Remove build fixture from tests to see if image is built in CI

* Organize docker tests definition and document

* Restore fixture allowing usage for local testing

This reverts commit dc0b60e63f and allows using `--prebuild` CLI flag for pytest when doing local tests.

Co-authored-by: Jairo Llopis <jairo.llopis@tecnativa.com>
2020-12-10 08:52:55 +00:00
javieryanez
a07d4ae4d9 Sorted environment variables alphabetically 2019-08-23 13:45:33 +01:00
javieryanez
bb302b5470 Added LOG_LEVEL environment variable to set logging severity level. 2019-08-23 13:45:33 +01:00
ViViDboarder
e46d26a7c4 First stab at multi-arch builds 2019-08-16 14:57:42 +02:00
Pedro M. Baeza
f16482ddff
Merge pull request #16 from Artiume/patch-1
spelling error, no change.
2019-06-16 00:17:18 +02:00
Artiume
158c560a56
spelling error, no change. 2019-06-14 20:58:36 -04:00
Andre Zoledziowski
f41f9d25d2 Fixed possible security problem. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
eddf7b2a42 Inverted HAProxy security policy. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
5a7bc8fd17 Added explicit "allow restarts" permission. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
3a1d5bb03a Added missing experimental SESSION API 2019-01-21 15:23:09 +00:00
Jairo Llopis
8bb3bce15a
Support Docker API 1.37
Add CONFIGS and DISTRIBUTION sections.
2019-01-08 08:57:45 +00:00
Jairo Llopis
7da0037161
Use HAProxy 1.9 and log to stdout 2019-01-08 08:57:45 +00:00
Bret Fisher
a249e65a77 Update haproxy to current stable 1.8 2018-12-12 11:00:15 +00:00
Kirill
d280f2bc10 #7 - privileged explanation 2018-05-21 10:45:42 +01:00
Cell
746c20f2c8 FIX label with URL of the repo (#5) 2018-02-19 10:09:22 +00:00
Jairo Llopis
6e7cec107e 📝 Increase API version support 2017-07-31 12:32:26 +02:00
d848124
6c6ad0a801 Deny URL encoded requests. Closes #1 2017-07-28 10:46:30 +10:00
Jairo Llopis
0715eb786b Support hopefully upcoming logging
See https://github.com/docker-library/haproxy/pull/39.
2017-03-31 13:33:09 +02:00
Jairo Llopis
0014ddf65e 📝 Full README 2017-03-31 10:52:26 +02:00
Jairo Llopis
53d9ee0732 Support any API version prefix 2017-03-29 13:11:26 +02:00
Jairo Llopis
17ff117058 🎉 Hello world 2017-03-29 13:06:56 +02:00