1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-12-21 22:28:07 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Jake Howard
f7c8b41cc6 Rebuild container weekly
Due to its nature, the container has access to sensitive data. Therefore the underlying OS should be updated regularly
2022-06-22 13:20:55 +02:00
Alexandre Díaz
24d40af7f4
Merge pull request #72 from Tecnativa/imp-precommit
[UPD] pre-commit
2022-06-22 13:15:19 +02:00
Alexandre D. Díaz
a47de10b35 [UPD] pre-commit 2022-06-22 13:12:32 +02:00
Aaron Bach
5dd3a1efb9 Linting 2021-11-25 08:15:13 -05:00
Aaron Bach
8ed50a6526 Add environment variable to configure Docker socket location in image 2021-11-25 08:15:13 -05:00
Ruben Gees
08910fecaa Add support for /grpc api 2021-10-20 14:16:31 +01:00
Krasimir Nedelchev
f48305fe92 Fix typo in link 2021-08-20 07:56:32 +01:00
João Marques
b30e0097a4 Update README info after #40 2021-07-07 10:36:12 +01:00
João Marques
fae59cf3e8 Fix docs: specify port on DOCKER_HOST variable
Fixes https://github.com/Tecnativa/docker-socket-proxy/issues/51
2021-04-26 15:25:17 +01:00
Trenton Holmes
0ae2b3ea0d Updates HAProxy to the 2.2-alpine tag 2021-04-15 09:13:57 +01:00
Jairo Llopis
6dce4aab3c Remove unused metadata
Since #40, the correct labels are applied at build. These lines were 🗑 now.

@Tecnativa TT27819
2021-02-09 08:38:42 +00:00
João Marques
b911e572d0 Delete old badges 2021-01-26 10:27:45 +00:00
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