Skip to content

Commit

Permalink
Merge pull request #14 from jnussbaumol/fix-cyclonedx-go
Browse files Browse the repository at this point in the history
Fix cyclonedx go
  • Loading branch information
antonroman authored Sep 17, 2024
2 parents b2d7009 + 0d629fa commit c43caea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ RUN apt-get update \
# Installing Cyclone BoM generates for the different supported languages

#RUN mkdir /home/dtrack && cd /home/dtrack && git clone [email protected]:SCRATCh-ITEA3/dtrack-demonstrator.git
RUN go mod init deptrack/main
RUN go get github.com/ozonru/cyclonedx-go/cmd/cyclonedx-go && cp /root/go/bin/cyclonedx-go /usr/bin/
RUN rm go.mod

COPY cyclonedx-linux-x64 /usr/bin/cyclonedx-cli
RUN chmod +x /usr/bin/cyclonedx-cli

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit c43caea

Please sign in to comment.