Skip to content

Commit ae46e55

Browse files
committed
fix tests
1 parent 3b63114 commit ae46e55

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.mise.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
rust = "1.76.0"
2+
rust = "1.76"

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ required-features = ["json-logger"]
3838
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
3939
[dependencies]
4040
opentelemetry = {version = "0.28", optional = true}
41-
opentelemetry-otlp = {version = "0.28", features = ["http-proto", "reqwest-client"], default-features = false, optional = true}
41+
opentelemetry-otlp = {version = "0.28", features = ["http-proto", "reqwest-blocking-client"], default-features = false, optional = true}
4242
opentelemetry_sdk = {version = "0.28", features = ["rt-tokio"], optional = true}
4343
tracing = {version = "0.1"}
4444
tracing-log = {version = "0.2"}

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
FROM public.ecr.aws/prima/rust:1.76.0
22

3-
# Serve per avere l'owner dei file scritti dal container uguale all'utente Linux sull'host
3+
WORKDIR /code
4+
45
USER app
56

6-
WORKDIR /code
7+
COPY ["entrypoint", "/entrypoint"]
8+
9+
ENTRYPOINT ["/entrypoint"]
710

8-
ENTRYPOINT ["/bin/bash"]

entrypoint

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
if [ "$1" == "mix" ]; then
4+
exec "$@"
5+
else [ -n "$1" ];
6+
sh -c "$@"
7+
fi

0 commit comments

Comments
 (0)