Commit graph

52 commits

Author SHA1 Message Date
Patrick Kuijvenhoven
40daf21cf7 feat(docker): Improve Dockerfile
- include build process in Dockerfile
- use multistage build process
2024-06-25 13:53:15 +02:00
dependabot[bot]
bb55ee63a9 Bump golang.org/x/net from 0.17.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 20:36:21 +02:00
dependabot[bot]
23b40ea0ed Bump golang.org/x/net from 0.7.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 19:01:50 +02:00
dependabot[bot]
3b5e07bd92 Bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 2.8.0+incompatible to 2.8.2+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.2)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 09:18:18 +02:00
dependabot[bot]
681959b0d4 Bump github.com/gogo/protobuf
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 0.0.0-20170307180453-100ba4e88506 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/commits/v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/gogo/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 23:28:58 +02:00
dependabot[bot]
2290bc5df4 Bump github.com/opencontainers/image-spec from 1.0.1 to 1.0.2
Bumps [github.com/opencontainers/image-spec](https://github.com/opencontainers/image-spec) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/opencontainers/image-spec/releases)
- [Changelog](https://github.com/opencontainers/image-spec/blob/main/RELEASES.md)
- [Commits](https://github.com/opencontainers/image-spec/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: github.com/opencontainers/image-spec
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 23:27:07 +02:00
dependabot[bot]
3d2a561703 Bump golang.org/x/net from 0.0.0-20180906233101-161cd47e91fd to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20180906233101-161cd47e91fd to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-16 23:24:51 +02:00
dependabot[bot]
118e12bfe7 Bump github.com/docker/distribution
Bumps [github.com/docker/distribution](https://github.com/docker/distribution) from 0.0.0-20170726174610-edc3ab29cdff to 2.8.0+incompatible.
- [Release notes](https://github.com/docker/distribution/releases)
- [Commits](https://github.com/docker/distribution/commits/v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/docker/distribution
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 20:58:28 +01:00
Leo Antunes
ce18809703 fix(ci): use string for go version 2023-02-25 20:54:18 +01:00
Leo Antunes
33e165d990 chore(ci): bump go to 1.20 2023-02-25 20:54:18 +01:00
Gábor Egyed
7748e6e239 Minor cleanup
Co-authored-by: Leo Antunes <leo@costela.net>
2021-12-04 11:37:47 +01:00
Gábor Egyed
b35a579096 Update build status badge 2021-12-04 11:37:47 +01:00
Gábor Egyed
1c468c0c68 Update go.mod 2021-12-04 11:37:47 +01:00
Gábor Egyed
29960797b2 Configure go releaser and build releases for tags 2021-12-04 11:37:47 +01:00
Gábor Egyed
46128e34d0 Create GitHub build 2021-12-04 11:37:47 +01:00
Gábor Egyed
bda6b88888 Add hostname validation 2021-08-23 11:55:28 +02:00
Gábor Egyed
120c2ccb14 Use extra_hosts instead of add_hosts 2021-08-23 11:55:28 +02:00
Gábor Egyed
9847889000 Add arbitrary hosts by docker label 2021-08-23 11:55:28 +02:00
Leo Antunes
5796a343ec update README for go mod 2019-11-26 15:17:24 +01:00
Leo Antunes
0cce183524 also bump go in Dockerfile 2019-11-26 15:15:56 +01:00
Leo Antunes
709bcedb24 fix building with non-go-mod docker libs 2019-11-26 15:02:36 +01:00
Leo Antunes
31ab3d456e fix exec path 2019-02-18 14:04:41 +01:00
Leo Antunes
e0a2243666
travis: fix deploy hook URL 2019-01-31 23:33:18 +01:00
Leo Antunes
8f99c86f4b
travis: switch to xenial; cache builds 2019-01-31 23:05:03 +01:00
Leo Antunes
4a85814ef9
travis: explicitly enable go mod 2019-01-31 22:45:36 +01:00
Leo Antunes
00a1540fe7
migrate to go mod 2019-01-31 22:39:26 +01:00
Leo Antunes
ca3a739ab8 travis: add go 1.11 to test matrix 2018-10-21 20:58:03 +02:00
Leo Antunes
d8680734e5 travis: add deploy stage with webhook to docker hub 2018-10-21 20:57:26 +02:00
Leo Antunes
0080837e88 use multi-stage build to reduce image size 2018-10-18 09:40:44 +02:00
Leo Antunes
4c0f6f4f8b docker: update base image to go 1.11 2018-09-06 20:27:09 +02:00
Leo Antunes
8d4baf330c
Update README.md
make docker example a bit more realistic
2018-08-27 12:27:35 +02:00
Leo Antunes
eb343c9158 fix install instructions for go <1.11 2018-08-26 14:53:25 +02:00
Leo Antunes
2f9507b054 be nice and mention inspirations ;) 2018-08-26 00:43:33 +02:00
Leo Antunes
7c573eab43 mention possible log levels in README 2018-08-26 00:24:05 +02:00
Leo Antunes
32285b6609 try to fix travis builds 2018-08-26 00:16:50 +02:00
Leo Antunes
ddf5cf87d1 finish README 2018-08-26 00:03:29 +02:00
Leo Antunes
1aad0f5845 add simple tests for entry writing 2018-08-25 22:28:24 +02:00
Leo Antunes
b6d9115583 also ignore entries without ip during writing 2018-08-25 22:28:04 +02:00
Leo Antunes
06d16b7b51 close tmpfile before removing to avoid fd leak 2018-08-25 22:27:38 +02:00
Leo Antunes
2c93f8b233 merge calls to fmt.Fprintf 2018-08-25 19:40:24 +02:00
Leo Antunes
5eb23ea821 skip "bridge" and "none" nets; add some tests 2018-08-25 13:25:47 +02:00
Leo Antunes
f6a14606f1 pass config around instead of using as global 2018-08-25 12:31:08 +02:00
Leo Antunes
cc75212b46 fsync tmpfile file before overwriting hostsfile 2018-08-25 12:29:49 +02:00
Leo Antunes
42552f4316 add more error reporting and fallback mode for docker 2018-08-23 00:25:12 +02:00
Leo Antunes
092698694f add complete dockerfile 2018-08-23 00:23:47 +02:00
Leo Antunes
95c2cbeaae better handling of log level option 2018-08-22 22:25:41 +02:00
Leo Antunes
00bfe9ea30 don't leak kickoff channel 2018-08-22 22:25:07 +02:00
Leo Antunes
97d926b432 add cleanup on exit 2018-08-22 00:19:42 +02:00
Leo Antunes
03a5f533ca add acutal etchosts syncing 2018-08-22 00:09:55 +02:00
Leo Antunes
323ad6a54e add some configuration with envconfig 2018-08-22 00:09:01 +02:00