1
0
mirror of https://github.com/strongdm/comply synced 2024-12-23 14:07:34 +00:00
comply/Dockerfile

21 lines
586 B
Docker
Raw Permalink Normal View History

FROM strongdm/pandoc:edge
2019-02-21 06:51:41 +00:00
# based on implementation by James Gregory <james@jagregory.com>
MAINTAINER Comply <comply@strongdm.com>
RUN apt-get update -y \
&& apt-get install -y curl
2019-03-16 07:20:46 +00:00
ARG COMPLY_VERSION
ENV COMPLY_VERSION ${COMPLY_VERSION:-1.6.0}
2019-03-16 07:20:46 +00:00
EXPOSE 4000/tcp
2019-02-21 06:51:41 +00:00
# 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"]