Skip to content
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

Bump up rust version to 1.70 in the containerfile fo websocket_to_websocket #2

Open
JadenFurtado opened this issue Sep 26, 2024 · 0 comments

Comments

@JadenFurtado
Copy link

In the containerfile of websockt_to_websocket,

FROM docker.io/library/rust:1.66

COPY . /usr/src/websocket-to-websocket

WORKDIR /usr/src/websocket-to-websocket
RUN \
  --mount=type=cache,dst=/root/.cargo \
  --mount=type=cache,dst=/usr/src/websocket-to-websocket/target \
  cargo install --path .

WORKDIR /srv
CMD [ "websocket-to-websocket" ]

The current version of rust is set to 1.66. However, this breaks tokio which requires at least version 1.70 of rustc to compile
image

To fix this issue, change the version to 1.70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant