Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Azat Alimov
POD
Commits
4ea027b1
Verified
Commit
4ea027b1
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
WIP: Pass .git directory during build time
parent
7c69c929
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dockerignore
+2
-0
.dockerignore
Dockerfile
+1
-0
Dockerfile
with
3 additions
and
0 deletions
+3
-0
.dockerignore
+
2
-
0
View file @
4ea027b1
...
...
@@ -8,3 +8,5 @@
!Cargo.lock
!build.rs
#### To inline `git describe` at build-time
!.git
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
-
0
View file @
4ea027b1
...
...
@@ -22,6 +22,7 @@ RUN set -x && \
COPY
res res
COPY
build.rs build.rs
COPY
src src
COPY
.git .git
RUN
cargo build
--release
&&
mv
target/release/pod ./
&&
rm
-rf
target
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets