-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e059297
commit a0bb915
Showing
11 changed files
with
63 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
FROM rust:1.46 | ||
|
||
WORKDIR /usr/src/ | ||
RUN USER=root cargo new --bin bitwarden_rs_ldap | ||
WORKDIR /usr/src/bitwarden_rs_ldap | ||
RUN USER=root cargo new --bin vaultwarden_ldap | ||
WORKDIR /usr/src/vaultwarden_ldap | ||
|
||
# Compile dependencies | ||
COPY Cargo.toml Cargo.lock ./ | ||
RUN cargo build --locked --release | ||
|
||
# Remove bins to make sure we rebuild | ||
RUN rm ./target/release/deps/bitwarden_rs_ldap* | ||
RUN rm ./target/release/deps/vaultwarden_ldap* | ||
# Copy source and install | ||
COPY src ./src | ||
RUN cargo install --path . | ||
|
||
CMD ["bitwarden_rs_ldap"] | ||
CMD ["vaultwarden_ldap"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.