-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from jnussbaumol/fix-cyclonedx-go
Fix cyclonedx go
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"] |