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 #19 from lagged/docker-test-setup
Update: docker setup to test this
- Loading branch information
Showing
4 changed files
with
23 additions
and
11 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor/bundle |
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,11 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y ruby ruby-dev git gcc g++ make zlib1g-dev lsb-release \ | ||
&& gem install bundler \ | ||
&& mkdir -p /work | ||
|
||
WORKDIR /work | ||
COPY . /work | ||
|
||
CMD ["ruby", "-v"] |
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,11 @@ | ||
install: | ||
bundle install --path ./vendor/bundle | ||
|
||
release: | ||
bundle exec rake release | ||
|
||
docker-build: | ||
docker build -t lagged/apt-spy2:dev . | ||
|
||
docker-run: docker-build | ||
docker run -it lagged/apt-spy2:dev bash |
This file was deleted.
Oops, something went wrong.