1
0
mirror of https://github.com/strongdm/comply synced 2024-06-26 03:54:22 +00:00

Dockerfile example

This commit is contained in:
Justin McCarthy 2019-02-20 22:51:41 -08:00
parent 435ac086c0
commit b98d179847
No known key found for this signature in database
GPG Key ID: 900437410E142A48
2 changed files with 35 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM strongdm/pandoc:latest
# based on implementation by James Gregory <james@jagregory.com>
MAINTAINER Comply <comply@strongdm.com>
RUN apt-get update -y \
&& apt-get install -y curl
ENV COMPLY_VERSION "1.3.7"
# install comply binary
RUN curl -J -L -o /tmp/comply.tgz https://github.com/strongdm/comply/releases/download/v${COMPLY_VERSION}/comply-v${COMPLY_VERSION}-linux-amd64.tgz \
&& tar -xzf /tmp/comply.tgz \
&& mv ./comply-v${COMPLY_VERSION}-linux-amd64 /usr/local/bin/comply
WORKDIR /source
ENTRYPOINT ["/bin/bash"]

View File

@ -77,6 +77,23 @@ COMMANDS:
todo list declared vs satisfied compliance controls
help, h Shows a list of commands or help for one command
```
## Running in Docker
Comply is currently only released for Linux and macOS, however from other operating systems it's possible to run using Docker:
```
# using the included Dockerfile in the root of this project
$ docker build -t comply .
# from an empty directory that will contain your comply project
$ docker run -it --rm -v "$PWD":/source comply
$ docker init
```
For Windows users, replace $PWD with the full path to your project directory
## Ticketing Integrations:
- Jira
- Github