mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-22 20:50:04 +01:00
Merge #1537
1537: Import `.git` to the docker build image to fix vergen r=curquiza a=irevoire I observed a small difference in the size of the build image, but I think we can allow it: ![image](https://user-images.githubusercontent.com/7032172/127369567-d03f9a41-3ad5-4933-888e-a3777df8c6cf.png) I was not able to see any difference in build time, though. Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
976075578f
@ -1,5 +1,4 @@
|
||||
target
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
.git
|
||||
.gitignore
|
||||
|
@ -108,8 +108,8 @@ pub fn print_launch_resume(opt: &Opt, data: &Data) {
|
||||
Some("") | None => env!("VERGEN_GIT_SHA"),
|
||||
Some(commit_sha) => commit_sha,
|
||||
};
|
||||
let commit_date = match dbg!(option_env!("COMMIT_DATE")) {
|
||||
Some("") | None => dbg!(env!("VERGEN_GIT_COMMIT_TIMESTAMP")),
|
||||
let commit_date = match option_env!("COMMIT_DATE") {
|
||||
Some("") | None => env!("VERGEN_GIT_COMMIT_TIMESTAMP"),
|
||||
Some(commit_date) => commit_date,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user