mirror of
https://github.com/strongdm/comply
synced 2024-11-24 00:24:54 +00:00
c78f9007c2
Other changes: - Updated strongdm/pandoc image references to edge Co-authored-by: vassalo <vassalo@users.noreply.github.com>
21 lines
586 B
Docker
21 lines
586 B
Docker
FROM strongdm/pandoc:edge
|
|
|
|
# based on implementation by James Gregory <james@jagregory.com>
|
|
MAINTAINER Comply <comply@strongdm.com>
|
|
|
|
RUN apt-get update -y \
|
|
&& apt-get install -y curl
|
|
|
|
ARG COMPLY_VERSION
|
|
ENV COMPLY_VERSION ${COMPLY_VERSION:-1.4.0}
|
|
|
|
EXPOSE 4000/tcp
|
|
|
|
# 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"] |