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
c9cca18b
Unverified
Commit
c9cca18b
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Fix Dockerfile benches
parent
e3c0d9bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-0
Dockerfile
with
3 additions
and
0 deletions
+3
-0
Dockerfile
+
3
-
0
View file @
c9cca18b
...
...
@@ -16,6 +16,8 @@ RUN apt-get update && apt-get install -y libsqlcipher-dev && rm -rf /var/lib/apt
RUN
set
-x
&&
\
mkdir
-p
src
&&
\
echo
"fn main() {println!(
\"
broken
\"
)}"
>
src/main.rs
&&
\
mkdir
-p
benches
&&
\
echo
""
>
benches/rusqlite_reconnection.rs
&&
\
cargo build
--release
&&
\
rm
src/main.rs
&&
\
find target/release/
-type
f
-executable
-maxdepth
1
-delete
...
...
@@ -26,6 +28,7 @@ RUN set -x && \
COPY
res res
COPY
build.rs build.rs
COPY
src src
COPY
benches benches
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