Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowRipple committed Jan 17, 2014
0 parents commit 36da739
Show file tree
Hide file tree
Showing 36 changed files with 3,081 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Cranefile.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[containers]
[containers.firstContainer]
IMAGE = "orobix/sshfs_startup_key"
DOCKERFILE = "."
GRAPHICAL = true
DAEMONIZED = true
CWD = "/home/foo" #Leave empty if not needed
DNS = ""#172.25.0.10" #Leave empty if not needed
PASSWORD = "orobix2013"#Leave empty if not needed
USERNAME = "root"
PORTS = [[49153, 22],[49653, 80]]

MOUNTPOINTS = [["/home/piotr/node-simple", "/mnt/node-simple","rw"],["/home/piotr/colors","/mnt/colors","ro"]]

COMMANDS = [["first","echo firstContainerfirstScript"],["second","echo firstContainerSecondScript"]]

[containers.secondContainer]
IMAGE = "orobix/sshfs_startup_key"
DOCKERFILE = "."
GRAPHICAL = true
DAEMONIZED = false
CWD = "" #"/home/foo" #Leave empty if not needed
DNS = "" #172.25.0.10" #Leave empty if not needed
PASSWORD = "orobix2013"#Leave empty if not needed
USERNAME = "root"
PORTS = [[49154, 22],[49654, 80]]

MOUNTPOINTS = [["/home/piotr/node-simple", "/mnt/node-simple","rw"],["/home/piotr/colors","/mnt/colors","ro"]]
COMMANDS = [["first","echo secondContainerfirstScript"],["second","echo secondContainerSecondScript"]]
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#Base image of Ubuntu 12.04 (precise) 64-bit with git and go compiler installed

#Version 0.1

FROM ubuntu
MAINTAINER Piotr Chudzik "[email protected]"

#Check that the package repository is up to date

RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list

RUN apt-get update

#Install git and wget

RUN apt-get install -y git wget vim openssh-server

#Install Go
#Get the installer (please update in the future if needed)

#RUN wget https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz

#Extract the archive
#RUN tar -C /usr/local -xzf go1.1.2.linux-amd64.tar.gz

#Add go/bin to the path
#RUN export PATH=$PATH:/usr/local/go/bin

20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (C) 2014 Piotr Chudzik

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Loading

0 comments on commit 36da739

Please sign in to comment.