-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added tide framework #5862
Added tide framework #5862
Conversation
When running inside the container, I have
cc @msrd0 |
@waghanza |
you mean https://packages.debian.org/fr/buster/build-essential, I think |
Yes maybe for debian. What I just see in dockerfile. |
seems that rust base image does not have those libs installed. the dockerfile is FROM rust:1.65-slim AS build
WORKDIR /usr/src/app
COPY . ./
RUN cargo build --release && strip target/release/server
FROM debian:buster-slim
COPY --from=build /usr/src/app/target/release/server /usr/src/app/target/release/server
CMD /usr/src/app/target/release/server |
@waghanza FROM rust:1.65-slim AS build
WORKDIR /usr/src/app
COPY . ./
RUN apt install libc6-dev build-essential # <-- Here Try it & let me know
RUN cargo build --release && strip target/release/server
FROM debian:buster-slim
COPY --from=build /usr/src/app/target/release/server /usr/src/app/target/release/server
CMD /usr/src/app/target/release/server |
same with FROM rust:1.65-slim AS build
WORKDIR /usr/src/app
RUN apt-get -qy update
RUN apt-get -qy install libc6-dev
RUN apt-get -qy install build-essential
COPY . ./
RUN cargo build --release && strip target/release/server
FROM debian:buster-slim
COPY --from=build /usr/src/app/target/release/server /usr/src/app/target/release/server
CMD /usr/src/app/target/release/server |
This is probably due to the debian version mismatch. You're building with the default debian-based rust docker image which should be based on debian bullseye but run it in debian buster. Try |
@jbr @Fishrock123 @yoshuawuyts @skade do you consent to include |
In the past tide's preference was to not participate in benchmarks when there was an option, which is part of why the TechEmpower framework benchmark entry was written by a third party and is unofficial. Tide is currently not actively being developed, but I'm not sure if that is reason to exclude it from your benchmark. |
As I understand above thread @jbr,
for this reason, I think it could be included here (I'll be glad if some folks help me on maintaining the implementation here). also it could be a great way to detect failures (compilation issue with the last rust version ....) but if any main contributor does not want it to be included here, I'll respect this choice ❤️ |
I can maintain tide as I am also maintaining the warp. I have no issue. |
@waghanza |
I prefer to keep it open for a while (some days probably), just to make sure we gather consent (or non-opposition) of author(s) |
Yes sure, |
Regardless of tide getting added to the benchmark or not, you should keep the changes you made to the Dockerfile. |
@msrd0 changes are already in master. after digging into docker hub, we need to use |
No description provided.