Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
robcresswell committed Feb 6, 2019
0 parents commit c23be53
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM node:6.14.2-slim

RUN apt-get update -y
RUN apt-get install -y imagemagick
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Docker demo

Open a terminal and open the `docker-demo` directory.

1. Build the image

```console
docker build -t docker-demo .
```

2. Test the image

```console
snyk test --docker docker-demo --file=Dockerfile
```

All-in-one to clone and run:

```console
git clone [email protected]:snyk/docker-demo && \
cd docker-demo && \
docker build -t docker-demo . && \
snyk test --docker docker-demo --file=Dockerfile
```

0 comments on commit c23be53

Please sign in to comment.