-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6800ce0
commit ca66de9
Showing
4 changed files
with
50 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM boot2docker | ||
|
||
ENV LOCALBIN $ROOTFS/usr/local/bin/ | ||
|
||
# TODO is there an ADD attr that chmod's? | ||
RUN curl -L -o $LOCALBIN/docker https://experimental.docker.com/builds/Linux/x86_64/docker-latest \ | ||
&& chmod 755 $LOCALBIN/docker | ||
|
||
# add the magic nfs volume driver | ||
ADD ./docker-volume-nfs $LOCALBIN/docker-volume-nfs | ||
# Create the plugins socket dir | ||
RUN mkdir -p $ROOTFS/usr/share/docker/plugins | ||
# TODO: should test to see if there is one, and merge | ||
ADD ./bootsync.sh $ROOTFS/var/lib/boot2docker/bootsync.sh | ||
|
||
#ADD https://github.com/docker/machine/releases/download/v0.1.0-rc1/docker-machine_linux_amd64 $LOCALBIN/machine | ||
#ADD https://github.com/docker/swarm/releases/download/v0.1.0-rc1/docker-swarm-Linux-x86_64 $LOCALBIN/swarm | ||
#ADD https://github.com/docker/fig/releases/download/1.1.0-rc1/docker-compose-Linux-x86_64 $LOCALBIN/docker-compose | ||
|
||
RUN /make_iso.sh | ||
|
||
CMD ["cat", "boot2docker.iso"] |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
|
||
echo "start NFS Docker volume plugin" | ||
/usr/local/bin/docker-volume-nfs > /var/log/docker-volume-nfs.log 2>&1 & |