mirror of
https://github.com/strongdm/comply
synced 2024-11-22 15:44:55 +00:00
Dockerfile example
This commit is contained in:
parent
435ac086c0
commit
b98d179847
18
Dockerfile
Normal file
18
Dockerfile
Normal 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"]
|
17
README.md
17
README.md
@ -77,6 +77,23 @@ COMMANDS:
|
|||||||
todo list declared vs satisfied compliance controls
|
todo list declared vs satisfied compliance controls
|
||||||
help, h Shows a list of commands or help for one command
|
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:
|
## Ticketing Integrations:
|
||||||
- Jira
|
- Jira
|
||||||
- Github
|
- Github
|
||||||
|
Loading…
Reference in New Issue
Block a user