Compare commits

...

95 Commits
v0.1.2 ... main

Author SHA1 Message Date
ByteDream
b12e80200a
Merge pull request #45 from ByteDream/dependabot/go_modules/server/github.com/docker/docker-20.10.21incompatible
Bump github.com/docker/docker from 20.10.20+incompatible to 20.10.21+incompatible in /server
2022-11-01 19:08:52 +01:00
dependabot[bot]
f9b16e1b1d
Bump github.com/docker/docker in /server
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.20+incompatible to 20.10.21+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.20...v20.10.21)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 18:08:26 +00:00
ByteDream
ea94960a51
Merge pull request #46 from ByteDream/dependabot/go_modules/server/github.com/BurntSushi/toml-1.2.1
Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 in /server
2022-11-01 19:07:30 +01:00
ByteDream
174e2af5fe
Merge pull request #44 from ByteDream/dependabot/go_modules/server/github.com/spf13/cobra-1.6.1
Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 in /server
2022-11-01 19:07:13 +01:00
dependabot[bot]
03b262e0ce
Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 in /server
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/BurntSushi/toml/releases)
- [Commits](https://github.com/BurntSushi/toml/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:18:01 +00:00
dependabot[bot]
d052d71015
Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 in /server
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 12:17:50 +00:00
ByteDream
97099423fc
Merge pull request #43 from ByteDream/dependabot/cargo/container/serde-1.0.147
Bump serde from 1.0.145 to 1.0.147 in /container
2022-10-24 20:13:47 +02:00
ByteDream
0e18bc382b
Merge pull request #42 from ByteDream/dependabot/cargo/container/serde_json-1.0.87
Bump serde_json from 1.0.86 to 1.0.87 in /container
2022-10-24 20:13:40 +02:00
ByteDream
dd092422d4
Merge pull request #41 from ByteDream/dependabot/cargo/container/anyhow-1.0.66
Bump anyhow from 1.0.65 to 1.0.66 in /container
2022-10-24 20:13:31 +02:00
ByteDream
0737f9f529
Merge pull request #40 from ByteDream/dependabot/go_modules/server/github.com/docker/docker-20.10.20incompatible
Bump github.com/docker/docker from 20.10.19+incompatible to 20.10.20+incompatible in /server
2022-10-24 20:13:21 +02:00
ByteDream
94a1d55ba7
Merge branch 'main' into dependabot/go_modules/server/github.com/docker/docker-20.10.20incompatible 2022-10-24 20:13:11 +02:00
ByteDream
42145bec15
Merge pull request #39 from ByteDream/dependabot/go_modules/server/github.com/BurntSushi/toml-1.2.1
Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 in /server
2022-10-24 20:12:17 +02:00
dependabot[bot]
774255a7de
Bump serde from 1.0.145 to 1.0.147 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 12:25:27 +00:00
dependabot[bot]
de3f3a8d94
Bump serde_json from 1.0.86 to 1.0.87 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.87)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 12:25:23 +00:00
dependabot[bot]
ebd3ff0e01
Bump anyhow from 1.0.65 to 1.0.66 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.65 to 1.0.66.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.66)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 12:25:19 +00:00
dependabot[bot]
47d0f82103
Bump github.com/docker/docker in /server
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.19+incompatible to 20.10.20+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.19...v20.10.20)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 12:25:00 +00:00
dependabot[bot]
66b8eafaf1
Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 in /server
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/BurntSushi/toml/releases)
- [Commits](https://github.com/BurntSushi/toml/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 12:24:51 +00:00
ByteDream
063c7fb408
Merge pull request #38 from ByteDream/dependabot/go_modules/server/github.com/docker/docker-20.10.19incompatible
Bump github.com/docker/docker from 20.10.18+incompatible to 20.10.19+incompatible in /server
2022-10-17 17:40:51 +02:00
ByteDream
51fcf54ec1
Merge pull request #37 from ByteDream/dependabot/go_modules/server/github.com/spf13/cobra-1.6.0
Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 in /server
2022-10-17 17:40:34 +02:00
dependabot[bot]
b9c0f37846
Bump github.com/docker/docker in /server
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.18+incompatible to 20.10.19+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.18...v20.10.19)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 12:33:55 +00:00
dependabot[bot]
3975c88f88
Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 in /server
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 12:33:40 +00:00
ByteDream
0a9fb56e72
Merge pull request #36 from ByteDream/dependabot/cargo/container/serde_json-1.0.86
Bump serde_json from 1.0.85 to 1.0.86 in /container
2022-10-14 13:12:39 +02:00
ByteDream
a6adc6bd4b
Merge pull request #35 from ByteDream/dependabot/cargo/container/serde-1.0.145
Bump serde from 1.0.144 to 1.0.145 in /container
2022-10-14 13:12:30 +02:00
ByteDream
c0709daa4d
Merge pull request #34 from ByteDream/dependabot/cargo/container/anyhow-1.0.65
Bump anyhow from 1.0.64 to 1.0.65 in /container
2022-10-14 13:12:20 +02:00
dependabot[bot]
21e0091755
Bump serde_json from 1.0.85 to 1.0.86 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.86)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 12:36:43 +00:00
dependabot[bot]
d0626dce03
Bump serde from 1.0.144 to 1.0.145 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.144 to 1.0.145.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.144...v1.0.145)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 12:26:50 +00:00
dependabot[bot]
7b402957c1
Bump anyhow from 1.0.64 to 1.0.65 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.64...1.0.65)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 12:21:56 +00:00
ByteDream
977650a153
Merge pull request #33 from ByteDream/dependabot/go_modules/server/github.com/docker/docker-20.10.18incompatible
Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.18+incompatible in /server
2022-09-13 12:18:38 +02:00
dependabot[bot]
b85c414575
Bump github.com/docker/docker in /server
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.17+incompatible to 20.10.18+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.17...v20.10.18)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 12:31:47 +00:00
ByteDream
a1059d21c6
Merge pull request #32 from ByteDream/dependabot/cargo/container/anyhow-1.0.64
Bump anyhow from 1.0.63 to 1.0.64 in /container
2022-09-05 19:09:18 +02:00
ByteDream
b52d4dce9b
Run dependabot weekly 2022-09-05 18:22:44 +02:00
dependabot[bot]
cbd3093926
Bump anyhow from 1.0.63 to 1.0.64 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.63...1.0.64)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:02:31 +00:00
ByteDream
75ea6960cd
Merge pull request #31 from ByteDream/dependabot/go_modules/server/github.com/docker/go-units-0.5.0
Bump github.com/docker/go-units from 0.4.0 to 0.5.0 in /server
2022-09-02 11:49:21 +02:00
dependabot[bot]
a99d42d4a0
Bump github.com/docker/go-units from 0.4.0 to 0.5.0 in /server
Bumps [github.com/docker/go-units](https://github.com/docker/go-units) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/docker/go-units/releases)
- [Commits](https://github.com/docker/go-units/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/docker/go-units
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 12:34:42 +00:00
ByteDream
b46bc4dfd9
Merge pull request #30 from ByteDream/dependabot/cargo/container/anyhow-1.0.63
Bump anyhow from 1.0.62 to 1.0.63 in /container
2022-09-01 12:34:40 +02:00
dependabot[bot]
a8e4620c64
Bump anyhow from 1.0.62 to 1.0.63 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.62...1.0.63)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 12:31:19 +00:00
ByteDream
aef2ad3a98
Merge pull request #29 from ByteDream/dependabot/go_modules/server/go.uber.org/zap-1.23.0
Bump go.uber.org/zap from 1.22.0 to 1.23.0 in /server
2022-08-25 15:34:21 +02:00
dependabot[bot]
922a5e88bd
Bump go.uber.org/zap from 1.22.0 to 1.23.0 in /server
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 12:58:23 +00:00
ByteDream
f911c7a1cc
Merge pull request #27 from ByteDream/dependabot/cargo/container/serde-1.0.144
Bump serde from 1.0.143 to 1.0.144 in /container
2022-08-23 11:25:03 +02:00
ByteDream
b6453d0bad
Merge pull request #28 from ByteDream/dependabot/cargo/container/serde_json-1.0.85
Bump serde_json from 1.0.83 to 1.0.85 in /container
2022-08-23 11:24:53 +02:00
dependabot[bot]
0a22a790ac
Bump serde_json from 1.0.83 to 1.0.85 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.85)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 12:34:08 +00:00
dependabot[bot]
90c202fc1f
Bump serde from 1.0.143 to 1.0.144 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 12:34:03 +00:00
ByteDream
4875e36581
Merge pull request #26 from ByteDream/dependabot/cargo/container/anyhow-1.0.62
Bump anyhow from 1.0.60 to 1.0.62 in /container
2022-08-18 01:32:59 +02:00
dependabot[bot]
a0166f392e
Bump anyhow from 1.0.60 to 1.0.62 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.60 to 1.0.62.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.60...1.0.62)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-17 12:54:37 +00:00
ByteDream
f82a913db4
Merge pull request #20 from ByteDream/dependabot/cargo/container/serde_json-1.0.83
Bump serde_json from 1.0.82 to 1.0.83 in /container
2022-08-09 15:24:09 +02:00
ByteDream
e0486cea21
Merge pull request #22 from ByteDream/dependabot/cargo/container/serde_repr-0.1.9
Bump serde_repr from 0.1.8 to 0.1.9 in /container
2022-08-09 15:23:54 +02:00
ByteDream
3b05cdeae3
Merge pull request #23 from ByteDream/dependabot/go_modules/server/go.uber.org/zap-1.22.0
Bump go.uber.org/zap from 1.21.0 to 1.22.0 in /server
2022-08-09 15:23:43 +02:00
ByteDream
58cd65ec2c
Merge pull request #24 from ByteDream/dependabot/cargo/container/serde-1.0.143
Bump serde from 1.0.141 to 1.0.143 in /container
2022-08-09 15:23:14 +02:00
dependabot[bot]
9622273b09
Bump serde from 1.0.141 to 1.0.143 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.141 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.143)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 12:38:19 +00:00
dependabot[bot]
83997d2465
Bump go.uber.org/zap from 1.21.0 to 1.22.0 in /server
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 12:38:05 +00:00
dependabot[bot]
7198902bd5
Bump serde_repr from 0.1.8 to 0.1.9 in /container
Bumps [serde_repr](https://github.com/dtolnay/serde-repr) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/dtolnay/serde-repr/releases)
- [Commits](https://github.com/dtolnay/serde-repr/compare/0.1.8...0.1.9)

---
updated-dependencies:
- dependency-name: serde_repr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 12:41:10 +00:00
dependabot[bot]
75eb4146a5
Bump serde_json from 1.0.82 to 1.0.83 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.83)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 12:41:02 +00:00
ByteDream
6dc26a7c33
Merge pull request #19 from ByteDream/dependabot/cargo/container/anyhow-1.0.60
Bump anyhow from 1.0.59 to 1.0.60 in /container
2022-08-03 20:12:44 +02:00
dependabot[bot]
19b2240476
Bump anyhow from 1.0.59 to 1.0.60 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.59...1.0.60)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-03 12:41:10 +00:00
ByteDream
f383e2f90d
Merge pull request #18 from ByteDream/dependabot/cargo/container/serde-1.0.141
Bump serde from 1.0.140 to 1.0.141 in /container
2022-08-02 15:33:29 +02:00
dependabot[bot]
d2a6490881
Bump serde from 1.0.140 to 1.0.141 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 12:39:45 +00:00
ByteDream
6a98e3196e
Merge pull request #17 from ByteDream/dependabot/cargo/container/anyhow-1.0.59
Bump anyhow from 1.0.58 to 1.0.59 in /container
2022-08-02 03:11:59 +02:00
dependabot[bot]
10a892e14e
Bump anyhow from 1.0.58 to 1.0.59 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.58...1.0.59)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 12:58:01 +00:00
ByteDream
ccafe14b50
Merge pull request #15 from ByteDream/dependabot/go_modules/server/github.com/BurntSushi/toml-1.2.0
Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 in /server
2022-07-21 14:49:47 +02:00
ByteDream
14af715106
Merge pull request #16 from ByteDream/dependabot/cargo/container/serde-1.0.140
Bump serde from 1.0.139 to 1.0.140 in /container
2022-07-21 14:49:03 +02:00
dependabot[bot]
30e307eccd
Bump serde from 1.0.139 to 1.0.140 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 12:46:39 +00:00
dependabot[bot]
7cc0e1f109
Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0 in /server
Bumps [github.com/BurntSushi/toml](https://github.com/BurntSushi/toml) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/BurntSushi/toml/releases)
- [Commits](https://github.com/BurntSushi/toml/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/BurntSushi/toml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 12:46:21 +00:00
ByteDream
7257de555c
Merge pull request #14 from ByteDream/dependabot/cargo/container/serde-1.0.139
Bump serde from 1.0.138 to 1.0.139 in /container
2022-07-11 15:06:42 +02:00
dependabot[bot]
6597fa98e3
Bump serde from 1.0.138 to 1.0.139 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.138 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.138...v1.0.139)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 12:47:57 +00:00
ByteDream
a3f33df1c7
Merge pull request #13 from ByteDream/dependabot/cargo/container/serde-1.0.138
Bump serde from 1.0.137 to 1.0.138 in /container
2022-07-04 15:00:40 +02:00
dependabot[bot]
62bf0959b3
Bump serde from 1.0.137 to 1.0.138 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.138.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.138)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 12:57:41 +00:00
ByteDream
1923e01f02
Merge pull request #12 from ByteDream/dependabot/cargo/container/serde_json-1.0.82
Bump serde_json from 1.0.81 to 1.0.82 in /container
2022-06-30 14:47:26 +02:00
dependabot[bot]
623696a1d7
Bump serde_json from 1.0.81 to 1.0.82 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-30 12:42:57 +00:00
ByteDream
50f761eb89
Merge pull request #11 from ByteDream/dependabot/go_modules/server/github.com/spf13/cobra-1.5.0
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 in /server
2022-06-21 16:45:22 +02:00
dependabot[bot]
cfc52c9fe6
Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 in /server
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 12:44:13 +00:00
ByteDream
bb999d8948
Merge pull request #10 from ByteDream/dependabot/cargo/container/anyhow-1.0.58
Bump anyhow from 1.0.57 to 1.0.58 in /container
2022-06-20 16:09:16 +02:00
dependabot[bot]
1425c9d055
Bump anyhow from 1.0.57 to 1.0.58 in /container
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 13:01:38 +00:00
ByteDream
d1d9c59bdf
Merge pull request #9 from ByteDream/dependabot/go_modules/server/github.com/docker/docker-20.10.17incompatible
Bump github.com/docker/docker from 20.10.16+incompatible to 20.10.17+incompatible in /server
2022-06-07 15:07:34 +02:00
dependabot[bot]
1940fa5fc0
Bump github.com/docker/docker in /server
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.16+incompatible to 20.10.17+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/docker/docker/compare/v20.10.16...v20.10.17)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-07 12:49:36 +00:00
15c3f47792 Change error library to anyhow 2022-06-07 10:38:58 +02:00
ByteDream
76ebcc65e0
Merge pull request #4 from ByteDream/dependabot/cargo/container/structopt-0.3.26
Bump structopt from 0.3.25 to 0.3.26 in /container
2022-05-18 12:01:46 +02:00
ByteDream
e2f5e68aed
Merge pull request #8 from ByteDream/dependabot/cargo/container/serde_repr-0.1.8
Bump serde_repr from 0.1.7 to 0.1.8 in /container
2022-05-18 12:01:35 +02:00
ByteDream
dfdad596ab
Merge pull request #7 from ByteDream/dependabot/cargo/container/serde_json-1.0.81
Bump serde_json from 1.0.69 to 1.0.81 in /container
2022-05-18 12:01:20 +02:00
ByteDream
e4f9b86125
Merge pull request #5 from ByteDream/dependabot/cargo/container/serde-1.0.137
Bump serde from 1.0.130 to 1.0.137 in /container
2022-05-18 12:00:50 +02:00
ByteDream
163af770e4
Merge pull request #6 from ByteDream/dependabot/cargo/container/log-0.4.17
Bump log from 0.4.14 to 0.4.17 in /container
2022-05-18 11:58:26 +02:00
ByteDream
f930a5a4e7
Merge pull request #3 from ByteDream/dependabot/go_modules/server/github.com/mattn/go-sqlite3-2.0.3incompatible
Bump github.com/mattn/go-sqlite3 from 1.14.13 to 2.0.3+incompatible in /server
2022-05-18 00:05:19 +02:00
dependabot[bot]
41ab64d990
Bump serde_repr from 0.1.7 to 0.1.8 in /container
Bumps [serde_repr](https://github.com/dtolnay/serde-repr) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/dtolnay/serde-repr/releases)
- [Commits](https://github.com/dtolnay/serde-repr/compare/0.1.7...0.1.8)

---
updated-dependencies:
- dependency-name: serde_repr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:55:12 +00:00
dependabot[bot]
fc56f35604
Bump serde_json from 1.0.69 to 1.0.81 in /container
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.69 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.81)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:55:08 +00:00
dependabot[bot]
e9815229ac
Bump log from 0.4.14 to 0.4.17 in /container
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:55:05 +00:00
dependabot[bot]
e9a4851118
Bump serde from 1.0.130 to 1.0.137 in /container
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.130 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.130...v1.0.137)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:55:02 +00:00
dependabot[bot]
21d40e685b
Bump structopt from 0.3.25 to 0.3.26 in /container
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.25...v0.3.26)

---
updated-dependencies:
- dependency-name: structopt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:54:58 +00:00
dependabot[bot]
60941fa663
Bump github.com/mattn/go-sqlite3 in /server
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.13 to 2.0.3+incompatible.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.13...v2.0.3)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:54:02 +00:00
ByteDream
f4d77f5100
Create dependabot.yml 2022-05-17 23:50:06 +02:00
f2132f9063 Merge remote-tracking branch 'origin/main' 2022-05-17 23:39:11 +02:00
de2de23e89 Remove unused dependency 2022-05-17 23:38:51 +02:00
108980d705 Update dependencies 2022-05-17 23:37:52 +02:00
ByteDream
ab1054ff1a
Removed CGO disable 2022-01-28 10:47:36 +01:00
d9224951a0 Bumping docker-compose version 2022-01-27 18:45:00 +01:00
fae0f87436 Fixed several docker errors 2022-01-27 18:33:25 +01:00
f4e4b9b6aa Updated install oneliner (again) 2021-12-26 13:11:50 +01:00
12 changed files with 127 additions and 1117 deletions

15
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "cargo"
directory: "container"
schedule:
interval: "weekly"
- package-ecosystem: "gomod"
directory: "/server"
schedule:
interval: "weekly"

View File

@ -6,7 +6,7 @@ _BUILDDIR = $(shell realpath $(BUILDDIR))/
build: build-server build-container build-extra
build-server:
cd server/ && CGO_ENABLED=0 go build -o $(_BUILDDIR)/docker4ssh
cd server/ && go build -o $(_BUILDDIR)/docker4ssh
build-container: DEBUG=false
build-container:

View File

@ -51,7 +51,7 @@ For every install method your OS **must** be linux and docker has to be installe
Replace the `RELEASE` value in the following oneliner with the latest release [version](https://github.com/ByteDream/docker4ssh/releases/latest).
```shell
$ export RELEASE=<latest version> && curl -L https://github.com/ByteDream/docker4ssh/releases/download/v$RELEASE/docker4ssh-$RELEASE.tar.gz | tar -xvzf - -C /
$ RELEASE=<latest version>; curl -L https://github.com/ByteDream/docker4ssh/releases/download/v$RELEASE/docker4ssh-$RELEASE.tar.gz | tar -xvzf - -C /
- Building from source
Before start installing, make sure you have to following things ready:

173
container/Cargo.lock generated
View File

@ -2,21 +2,6 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "addr2line"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b"
dependencies = [
"gimli",
]
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "ansi_term"
version = "0.11.0"
@ -26,6 +11,12 @@ dependencies = [
"winapi",
]
[[package]]
name = "anyhow"
version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6"
[[package]]
name = "atty"
version = "0.2.14"
@ -37,39 +28,12 @@ dependencies = [
"winapi",
]
[[package]]
name = "autocfg"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
[[package]]
name = "backtrace"
version = "0.3.63"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "321629d8ba6513061f26707241fa9bc89524ff1cd7a915a97ef0c62c666ce1b6"
dependencies = [
"addr2line",
"cc",
"cfg-if",
"libc",
"miniz_oxide",
"object",
"rustc-demangle",
]
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cc"
version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
[[package]]
name = "cfg-if"
version = "1.0.0"
@ -95,7 +59,7 @@ dependencies = [
name = "docker4ssh"
version = "0.1.0"
dependencies = [
"failure",
"anyhow",
"log",
"serde",
"serde_json",
@ -103,34 +67,6 @@ dependencies = [
"structopt",
]
[[package]]
name = "failure"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86"
dependencies = [
"backtrace",
"failure_derive",
]
[[package]]
name = "failure_derive"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
dependencies = [
"proc-macro2",
"quote",
"syn",
"synstructure",
]
[[package]]
name = "gimli"
version = "0.26.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
[[package]]
name = "heck"
version = "0.3.3"
@ -151,9 +87,9 @@ dependencies = [
[[package]]
name = "itoa"
version = "0.4.8"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
[[package]]
name = "lazy_static"
@ -169,38 +105,13 @@ checksum = "fbe5e23404da5b4f555ef85ebed98fb4083e55a00c317800bc2a50ede9f3d219"
[[package]]
name = "log"
version = "0.4.14"
version = "0.4.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
dependencies = [
"cfg-if",
]
[[package]]
name = "memchr"
version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
[[package]]
name = "miniz_oxide"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a92518e98c078586bc6c934028adcca4c92a53d6a958196de835170a01d84e4b"
dependencies = [
"adler",
"autocfg",
]
[[package]]
name = "object"
version = "0.27.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9"
dependencies = [
"memchr",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@ -227,11 +138,11 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.32"
version = "1.0.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba508cc11742c0dc5c1659771673afbab7a0efab23aa17e854cbab0837ed0b43"
checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
dependencies = [
"unicode-xid",
"unicode-ident",
]
[[package]]
@ -243,12 +154,6 @@ dependencies = [
"proc-macro2",
]
[[package]]
name = "rustc-demangle"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
[[package]]
name = "ryu"
version = "1.0.5"
@ -257,18 +162,18 @@ checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
[[package]]
name = "serde"
version = "1.0.130"
version = "1.0.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913"
checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.130"
version = "1.0.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b"
checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852"
dependencies = [
"proc-macro2",
"quote",
@ -277,9 +182,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.69"
version = "1.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e466864e431129c7e0d3476b92f20458e5879919a0596c6472738d9fa2d342f8"
checksum = "6ce777b7b150d76b9cf60d28b55f5847135a003f7d7350c6be7a773508ce7d45"
dependencies = [
"itoa",
"ryu",
@ -288,9 +193,9 @@ dependencies = [
[[package]]
name = "serde_repr"
version = "0.1.7"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5"
checksum = "1fe39d9fbb0ebf5eb2c7cb7e2a47e4f462fad1379f1166b8ae49ad9eae89a7ca"
dependencies = [
"proc-macro2",
"quote",
@ -305,9 +210,9 @@ checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "structopt"
version = "0.3.25"
version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c"
checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
dependencies = [
"clap",
"lazy_static",
@ -329,25 +234,13 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.81"
version = "1.0.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2afee18b8beb5a596ecb4a2dce128c719b4ba399d34126b9e4396e3f9860966"
checksum = "fbaf6116ab8924f39d52792136fb74fd60a80194cf1b1c6ffa6453eef1c3f942"
dependencies = [
"proc-macro2",
"quote",
"unicode-xid",
]
[[package]]
name = "synstructure"
version = "0.12.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
dependencies = [
"proc-macro2",
"quote",
"syn",
"unicode-xid",
"unicode-ident",
]
[[package]]
@ -359,6 +252,12 @@ dependencies = [
"unicode-width",
]
[[package]]
name = "unicode-ident"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
[[package]]
name = "unicode-segmentation"
version = "1.8.0"
@ -371,12 +270,6 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
[[package]]
name = "unicode-xid"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
[[package]]
name = "vec_map"
version = "0.8.2"

View File

@ -12,7 +12,7 @@ name = "configure"
path = "src/configure/main.rs"
[dependencies]
failure = "0.1"
anyhow = "1.0"
log = "0.4"
structopt = "0.3"
serde = { version = "1.0", features = ["derive"]}

View File

@ -1,5 +1,6 @@
use std::process::Command;
use std::time::SystemTime;
use anyhow::Result;
use log::{info, warn};
use structopt::StructOpt;
use structopt::clap::AppSettings;
@ -8,8 +9,6 @@ use crate::shared::api::api::API;
use crate::shared::api::request;
use crate::shared::api::request::{ConfigGetResponse, ConfigNetworkMode, ConfigRunLevel};
type Result<T> = std::result::Result<T, failure::Error>;
trait Execute {
fn execute(self, api: &mut API) -> Result<()>;
}

View File

@ -1,10 +1,9 @@
use std::collections::HashMap;
use std::io::{Read, Write};
use std::net::TcpStream;
use anyhow::{anyhow, bail, Result};
use serde::Deserialize;
pub type Result<T> = std::result::Result<T, failure::Error>;
pub struct API {
route: String,
}
@ -19,7 +18,7 @@ impl API {
pub fn new_connection(&mut self) -> Result<TcpStream> {
match TcpStream::connect(&self.route) {
Ok(stream) => Ok(stream),
Err(e) => Err(failure::format_err!("Failed to connect to {}: {}", self.route, e.to_string()))
Err(e) => bail!("Failed to connect to {}: {}", self.route, e.to_string())
}
}
@ -28,7 +27,7 @@ impl API {
connection.write_all(request.as_string().as_bytes())?;
let mut buf: String = String::new();
connection.read_to_string(&mut buf).map_err(|e| failure::err_msg(e.to_string()))?;
connection.read_to_string(&mut buf)?;
Ok(APIResult::new(request, buf))
}
@ -36,7 +35,7 @@ impl API {
let result = self.request(request)?;
if result.result_code >= 400 {
let err: APIError = result.body()?;
Err(failure::err_msg(format!("Error {}: {}", result.result_code, err.message)))
bail!("Error {}: {}", result.result_code, err.message)
} else {
Ok(result)
}
@ -80,15 +79,15 @@ impl APIResult {
}
pub fn body<'a, T: Deserialize<'a>>(&'a self) -> Result<T> {
let result: T = serde_json::from_str(&self.result_body).map_err(|e| {
let result = serde_json::from_str(&self.result_body).map_err(|e| {
// checks if the error has a body and if so, return it
if self.has_body() {
let error: APIError = serde_json::from_str(&self.result_body).unwrap_or_else(|_| {
APIError{message: format!("could not deserialize response: {}", e.to_string())}
});
failure::format_err!("Failed to call '{}': {}", self.request_path, error.message)
anyhow!("Failed to call '{}': {}", self.request_path, error.message)
} else {
failure::format_err!("Failed to call '{}': {}", self.request_path, e.to_string())
anyhow!("Failed to call '{}': {}", self.request_path, e.to_string())
}
})?;
Ok(result)

View File

@ -1,8 +1,9 @@
use std::fmt::{Display, Formatter};
use anyhow::Result;
use serde::{Deserialize, Serialize};
use serde_repr::{Deserialize_repr, Serialize_repr};
use crate::shared::api::api::{API, Method, Request, Result};
use crate::shared::api::api::{API, Method, Request};
use crate::shared::api::api::Method::POST;
#[derive(Deserialize)]

View File

@ -1,47 +1,22 @@
FROM golang:1.17 as server
FROM alpine:latest as build
WORKDIR /docker4ssh
COPY ["../", "."]
RUN apk add git go make openssh rustup sqlite
RUN apt update && \
apt install make sqlite3 && \
apt clean && \
apt autoremove && \
rm -rf /var/lib/apt/lists/*
RUN rustup-init -y && \
ln -s $HOME/.cargo/bin/cargo /usr/bin/cargo
RUN make BUILDDIR=build/ build-server
FROM rust:1.56 as client
WORKDIR /docker4ssh
COPY ../ .
RUN apt update && \
apt install make \
RUN make BUILDDIR=build/ build-client
FROM alpine:lastest as extra
WORKDIR /docker4ssh
COPY ../ .
RUN apk add make
RUN make BUILDDIR=build/ build-extra
RUN git clone https://github.com/ByteDream/docker4ssh .
RUN mkdir build/ && \
make BUILDDIR=build/ build && \
rm -rf build/release/ build/x86_64-unknown-linux-musl/
FROM alpine:latest
WORKDIR /docker4ssh
COPY --from=server /docker4ssh/build/* .
COPY --from=client /docker4ssh/build/docker4ssh .
COPY --from=extra /docker4ssh/build/* .
COPY --from=build /docker4ssh/build/ ./
ENTRYPOINT docker4ssh
ENTRYPOINT ./docker4ssh start

View File

@ -1,11 +1,13 @@
version: '3'
version: '3.7'
services:
docker4ssh:
build: .
build: https://raw.githubusercontent.com/ByteDream/docker4ssh/main/examples/Dockerfile
ports:
- "8642:8642"
- "2222:2222"
volumes:
- "./docker4ssh.log.log:/docker4ssh/docker4ssh.log"
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
restart: unless-stopped
container_name: docker4ssh

View File

@ -3,25 +3,22 @@ module docker4ssh
go 1.17
require (
github.com/BurntSushi/toml v0.4.1
github.com/docker/docker v20.10.11+incompatible
github.com/docker/go-units v0.4.0
github.com/mattn/go-sqlite3 v1.14.9
github.com/BurntSushi/toml v1.2.1
github.com/docker/docker v20.10.21+incompatible
github.com/docker/go-units v0.5.0
github.com/mattn/go-sqlite3 v2.0.3+incompatible
github.com/morikuni/aec v1.0.0
github.com/spf13/cobra v1.0.0
go.uber.org/zap v1.19.1
golang.org/x/crypto v0.0.0-20211202192323-5770296d904e
github.com/spf13/cobra v1.6.1
go.uber.org/zap v1.23.0
golang.org/x/crypto v0.0.0-20220517005047-85d78b3ac167
)
require (
github.com/Microsoft/go-winio v0.4.17 // indirect
github.com/containerd/containerd v1.5.8 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.0 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
@ -32,10 +29,6 @@ require (
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a // indirect
google.golang.org/grpc v1.42.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
gotest.tools/v3 v3.2.0 // indirect
)
replace golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 => github.com/ByteDream/term v0.0.0-20211025115508-891a970291e6

File diff suppressed because it is too large Load Diff