Skip to content

Commit

Permalink
Merge pull request #19 from lagged/docker-test-setup
Browse files Browse the repository at this point in the history
Update: docker setup to test this
  • Loading branch information
till committed Aug 26, 2019
2 parents 09b3fee + 337433b commit c1b2323
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
1 change: 1 addition & 0 deletions .dockerignore
@@ -0,0 +1 @@
vendor/bundle
11 changes: 11 additions & 0 deletions Dockerfile
@@ -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"]
11 changes: 11 additions & 0 deletions Makefile
@@ -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
11 changes: 0 additions & 11 deletions Vagrantfile

This file was deleted.

0 comments on commit c1b2323

Please sign in to comment.