Skip to content

Commit de181fa

Browse files
committed
Nuke Docker support
Our Docker infrastructure is a pain in the ass to maintain, because of all the flakiness surrounding it. Remove it from the code base.
1 parent b476ae8 commit de181fa

File tree

4 files changed

+1
-109
lines changed

4 files changed

+1
-109
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Unreleased
22
----------
3-
- Updated base image version used in Docker image
3+
- Removed `Dockerfile` and Docker image build CI job
44
- Bumped `git2` dependency to `0.20`
55

66

Dockerfile

Lines changed: 0 additions & 27 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -107,36 +107,6 @@ setting, such as on a single computer or local home network. The reason
107107
being that, by design, it does not have any authentication scheme
108108
present and no attempts of hardening the code have been undertaken.
109109

110-
Docker
111-
------
112-
113-
To run the registry in a Docker container:
114-
115-
```sh
116-
docker run -p 35504:35504 ghcr.io/d-e-s-o/cargo-http-registry:latest /tmp/test-registry --addr 0.0.0.0:35504
117-
```
118-
119-
To run `cargo-http-registry` in a docker compose file:
120-
121-
```yaml
122-
version: "3"
123-
124-
services:
125-
registry:
126-
image: ghcr.io/d-e-s-o/cargo-http-registry:latest
127-
container_name: cargo-registry
128-
restart: always
129-
# Arguments:
130-
# - Directory where the registry will store its data.
131-
# Cargo-http-registry creates the directory if it does not exist.
132-
# - Server address.
133-
# Note that 127.0.0.1 doesn't work in GitHub actions.
134-
# Use 0.0.0.0 instead.
135-
command: /tmp/test-registry --addr 0.0.0.0:35504
136-
ports:
137-
- "35504:35504"
138-
```
139-
140110
[cargo-config]: https://doc.rust-lang.org/cargo/reference/config.html
141111
[cargo-net-git-cli]: https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
142112
[docs-rs]: https://docs.rs/crate/cargo-http-registry

0 commit comments

Comments
 (0)