Skip to content

Commit

Permalink
chore: update rust to 1.72
Browse files Browse the repository at this point in the history
- update to rust 1.72
- use docker images from ghcr.io
  • Loading branch information
Lazzaretti committed Sep 30, 2023
1 parent fe43a76 commit 67399fa
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Different Docker-based development environments can be found [here](https://gith
### Prerequisites without Docker

1. latest version of [rustup](https://www.rust-lang.org/tools/install)
2. Rust version 1.67.0: `rustup install 1.67.0`
2. Rust version 1.72.0: `rustup install 1.72`
3. Additional C libraries depending on the platform (examples can be found in the Docker containers)

Optional Tooling:
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
test:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- .:/cerk/
- ./lib/libmosquitto.so.1:/usr/local/lib/libmosquitto.so
Expand All @@ -15,19 +15,19 @@ services:
&& cargo fmt -- --check
"
doc:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- .:/cerk/
working_dir: /cerk
command: cargo doc --all
check-readme:
image: lazzaretti/ce-rust-docker-cargo-readme:3.2.0
image: ghcr.io/ce-rust/cargo-readme:v3.3.0
volumes:
- .:/cerk/
working_dir: /cerk
command: ./check-readme.sh
deny:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- .:/cerk/
working_dir: /cerk
Expand Down
2 changes: 1 addition & 1 deletion docker/cerk-common/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 lazzaretti/docker-rust-cerk:0.7.0 as build-env
FROM --platform=linux/amd64 ghcr.io/ce-rust/rust-cerk:v0.8.0 as build-env
WORKDIR /app

# add missing libraries, inspired by https://github.com/kyos0109/varnish60-distroless/blob/master/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions examples/examples/src/mqtt/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.7'

services:
cerk-publisher:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
environment:
- RUST_BACKTRACE=1
volumes:
Expand All @@ -14,7 +14,7 @@ services:
links:
- mqtt-broker
cerk-subscriber:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../../../:/cerk/
working_dir: /cerk/examples/examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- 5672:5672
- 15672:15672
cerk-consumer:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../../../:/cerk/
working_dir: /cerk
Expand All @@ -19,7 +19,7 @@ services:
links:
- rabbitmq
cerk-publisher:
image: lazzaretti/docker-rust-cerk:0.7.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../../../:/cerk/
working_dir: /cerk
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/reliable-amqp/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- 5672:5672
- 15672:15672
cerk-amqp:
image: lazzaretti/docker-rust-cerk:0.6.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../:/cerk/
working_dir: /cerk/integration-tests/reliable-amqp/cerk-amqp
Expand All @@ -19,7 +19,7 @@ services:
links:
- rabbitmq
test-executor:
image: lazzaretti/docker-rust-cerk:0.6.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../:/cerk/
working_dir: /cerk/integration-tests/reliable-amqp/test-executor
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/reliable-mqtt/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
ports:
- 1884:1883
cerk:
image: lazzaretti/docker-rust-cerk:0.6.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
environment:
- MOSQUITTO_GIT_URL=https://github.com/ce-rust/mosquitto
- MOSQUITTO_GIT_HASH=9f834dff9095e6731937d5eac767dbaca46491ac
Expand All @@ -29,7 +29,7 @@ services:
- limited
- unlimited
test-executor:
image: lazzaretti/docker-rust-cerk:0.6.0
image: ghcr.io/ce-rust/rust-cerk:v0.8.0
volumes:
- ../../:/cerk/
working_dir: /cerk/integration-tests/reliable-mqtt/test-executor
Expand Down

0 comments on commit 67399fa

Please sign in to comment.