Skip to content

Conversation

@frnandu
Copy link

@frnandu frnandu commented Dec 29, 2025

fixes #74

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Dec 29, 2025

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull requested review from tankyleo and removed request for jkczyz December 30, 2025 08:22
@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@ldk-reviews-bot
Copy link

🔔 2nd Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@ldk-reviews-bot
Copy link

🔔 3rd Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

Copy link
Contributor

@tankyleo tankyleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! can you make this one commit / remove the merge commit in the current PR ?

Comment on lines +6 to +14
# Copy workspace files
COPY Cargo.toml Cargo.lock ./
COPY rustfmt.toml ./

# Copy all workspace members
COPY server ./server
COPY api ./api
COPY impls ./impls
COPY auth-impls ./auth-impls
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not familiar with Docker, looked elsewhere sounds like we could replace all these lines with just COPY . . ?

Copy link
Author

@frnandu frnandu Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we do COPY . . it would need to have a .dockerignore file with things like target/** and similar, otherwise it would unnecessarily copy compile stuff and make the build process take longer.
Let me know what you prefer.

rust/Dockerfile Outdated
Comment on lines 25 to 26
ca-certificates \
libssl3 \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't aware of these dependencies are you sure these are needed ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely yes (cf. #77), though IIRC I had to also install libssl-dev and pkg-config, too (cf. https://docs.rs/openssl/latest/openssl/#automatic).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

without libssl3 I get:

error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

when trying to run the image

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ca-certificate seems not needed, I'll remove it, thanks.

rust/Dockerfile Outdated
COPY --from=builder /build/target/release/vss-server /app/vss-server

# Copy default configuration file
#COPY server/vss-server-config.toml /app/vss-server-config.toml
Copy link
Contributor

@tankyleo tankyleo Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now this step is mandatory, so let's not comment it out.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are using an external vss-server-config.toml on our k8s setup, but I guess even if this is included we can still mount and overwrite it, so I'll un-comment it here, thanks.

@frnandu frnandu changed the title Chore/rust dockerfile chore: rust dockerfile Jan 15, 2026
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

Successfully merging this pull request may close these issues.

Dockerfile for rust version

4 participants