Skip to content

Commit

Permalink
add dockerfile with certs
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Aug 27, 2024
1 parent 36c81c4 commit ccb0148
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
7 changes: 7 additions & 0 deletions components/consumers/dependency-track/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:3.20

RUN apk add --no-cache ca-certificates

COPY ./components/consumers/dependency-track/dependency-track /app/components/consumers/dependency-track/dependency-track

ENTRYPOINT ["/app/components/consumers/dependency-track/dependency-track"]
17 changes: 17 additions & 0 deletions components/consumers/dependency-track/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.PHONY: container publish

CONTAINER_REPO=
DRACON_VERSION=
SOURCE_CODE_REPO=
PRODUCER_AGGREGATOR_BASE_IMAGE=$(shell test -e .custom_image && cat .custom_image || echo "scratch")

DOCKER=docker

container:
$(DOCKER) build --tag $(CONTAINER_REPO)/components/consumers/dependency-track:$(DRACON_VERSION) \
--file Dockerfile \
$$([ "${SOURCE_CODE_REPO}" != "" ] && echo "--label=org.opencontainers.image.source=${SOURCE_CODE_REPO}" ) \
../../../bin 1>&2

publish:
$(DOCKER) push $(CONTAINER_REPO)/components/consumers/dependency-track:$(DRACON_VERSION) 1>&2

0 comments on commit ccb0148

Please sign in to comment.