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
0Z090 5UR4l9V
Pod
Commits
e7170adc
Commit
e7170adc
authored
3 years ago
by
Muhammad Bilal
Browse files
Options
Download
Email Patches
Plain Diff
added kubectl in dockerfile
parent
1d2018ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-1
Dockerfile
with
6 additions
and
1 deletion
+6
-1
Dockerfile
+
6
-
1
View file @
e7170adc
...
...
@@ -35,7 +35,12 @@ RUN cargo build --release && mv target/release/pod ./ && rm -rf target
FROM
debian:buster-slim
COPY
--from=cargo-build /usr/bin/docker /usr/bin/docker
COPY
--from=cargo-build /usr/src/pod/pod pod
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get update
&&
apt-get
install
-y
libsqlcipher-dev
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get update
&&
apt-get
install
-y
libsqlcipher-dev curl
&&
rm
-rf
/var/lib/apt/lists/
*
ARG
use_kubernetes=false
RUN if
[
"
$use_kubernetes
"
=
"true"
]
;
then
\
curl
-LO
https://storage.googleapis.com/kubernetes-release/release/
$(
curl
-s
https://storage.googleapis.com/kubernetes-release/release/stable.txt
)
/bin/linux/amd64/kubectl
\
&&
chmod
+x ./kubectl
\
&&
mv
./kubectl /usr/local/bin/kubectl
;
fi
# Check that library versions match (sqlcipher, libc, etc)
RUN
./pod
--version
1>/dev/null 2>&1
...
...
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