1
0
mirror of https://github.com/strongdm/comply synced 2024-11-05 07:25:26 +00:00

prep port exposure from docker

This commit is contained in:
Justin McCarthy 2019-03-16 00:20:46 -07:00
parent 25058359ea
commit edd3c7dd44
No known key found for this signature in database
GPG Key ID: 900437410E142A48
2 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,10 @@ MAINTAINER Comply <comply@strongdm.com>
RUN apt-get update -y \
&& apt-get install -y curl
ENV COMPLY_VERSION "1.3.7"
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 \

View File

@ -111,6 +111,9 @@ minor-release: release-env minor release
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
curl -X POST --data-urlencode 'payload={"channel": "#release", "username": "release", "text": "comply $(VERSION) released", "icon_emoji": ":shipit:"}' https://hooks.slack.com/services/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
docker-release:
docker build --build-arg COMPLY_VERSION=`cat VERSION` -t strongdm/comply .
patch: clean gitsem
gitsem -m "increment patch for release (via Makefile)" patch
git push