-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from Centos to Alpine base container
Closes #2
- Loading branch information
Fernando Alvarez
committed
Oct 5, 2016
1 parent
d5287d6
commit ee653ad
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
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,16 +1,19 @@ | ||
FROM centos:latest | ||
FROM alpine:latest | ||
MAINTAINER BBVA Innovation <[email protected]> | ||
ENV container docker | ||
|
||
RUN yum clean all \ | ||
&& yum update -y \ | ||
&& yum install -y qemu-kvm bridge-utils iproute dnsmasq \ | ||
&& yum clean all | ||
RUN apk -U --no-cache add \ | ||
qemu \ | ||
qemu-system-x86_64 \ | ||
bridge-utils \ | ||
bash \ | ||
dnsmasq \ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
COPY startvm /usr/local/bin/startvm | ||
RUN chmod u+x /usr/local/bin/startvm | ||
|
||
VOLUME /image | ||
|
||
ENTRYPOINT ["/usr/local/bin/startvm"] | ||
CMD [] | ||
CMD [] |
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