-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3698 from kellyselden/vagrant-linux
adding docker for linux testing/debugging
- Loading branch information
Showing
6 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
FROM node:latest | ||
|
||
RUN npm i -g npm | ||
|
||
RUN apt-get update && apt-get install -y git | ||
|
||
RUN git clone https://github.com/ember-cli/ember-cli.git ~/ember-cli | ||
RUN cd ~/ember-cli && npm i | ||
|
||
ENTRYPOINT ["/bin/bash"] |
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,14 @@ | ||
##### Instructions | ||
1. Clone `ember-cli` into a folder under `C:/Users` in Windows or `/Users` in Mac | ||
1. Install Docker on [Windows](https://github.com/boot2docker/windows-installer/releases/latest) or [Mac](https://github.com/boot2docker/osx-installer/releases/latest) | ||
1. Start Boot2Docker | ||
1. `cd` into your cloned `ember-cli` folder | ||
1. Run `cd dev/docker/linux` | ||
1. Run `docker build -t ember-cli .` | ||
1. Run `docker run -ti --rm=true ember-cli` | ||
1. Run `cd ~/ember-cli` | ||
1. Run `npm test` | ||
1. When you're done, run `exit` | ||
|
||
##### Cleanup | ||
1. Run `docker rmi ember-cli` |
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,12 @@ | ||
##### Instructions | ||
1. Install VirtualBox | ||
1. Install Vagrant | ||
1. Run `vagrant up` in this directory | ||
1. Wait for the command to finish | ||
1. Open the command prompt in the Windows VM | ||
1. Run `cd C:\Users\vagrant\ember-cli` | ||
1. Run `npm test` | ||
1. When you're done, close the VM | ||
|
||
##### Cleanup | ||
1. Run `vagrant destroy -f` |
File renamed without changes.
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