mirror of
https://github.com/strongdm/comply
synced 2024-11-21 23:24:53 +00:00
prep port exposure from docker
This commit is contained in:
parent
25058359ea
commit
edd3c7dd44
@ -6,7 +6,10 @@ MAINTAINER Comply <comply@strongdm.com>
|
|||||||
RUN apt-get update -y \
|
RUN apt-get update -y \
|
||||||
&& apt-get install -y curl
|
&& 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
|
# 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 \
|
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 \
|
||||||
|
3
Makefile
3
Makefile
@ -111,6 +111,9 @@ minor-release: release-env minor release
|
|||||||
$(eval VERSION := $(shell git describe --tags --always --dirty="-dev"))
|
$(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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
|
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
|
patch: clean gitsem
|
||||||
gitsem -m "increment patch for release (via Makefile)" patch
|
gitsem -m "increment patch for release (via Makefile)" patch
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user