Skip to content

Commit

Permalink
Merge pull request #9 from SBOMcc/create-docker-file
Browse files Browse the repository at this point in the history
create-docker-file
  • Loading branch information
juliojimenez authored Mar 3, 2024
2 parents e139c84 + 959bcfc commit 8c94d27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/SBOMcc/sbomcc:${{ inputs.release_version }}
tags: ghcr.io/sbomcc/sbomcc:${{ inputs.release_version }}
labels: ${{ steps.meta.outputs.labels }}
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:latest
WORKDIR /sbomcc
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
wget \
unzip \
&& rm -rf /var/lib/apt/lists/* \
&& wget https://github.com/SBOMcc/sbomcc/releases/download/0.0.1/sbomcc-0.0.1-linux-x64.zip \
&& unzip sbomcc-0.0.1-linux-x64.zip
# EXPOSE 8080
ENTRYPOINT [ "sbomcc-0.0.1/bin/sbomcc" ]
CMD [ "--version" ]

0 comments on commit 8c94d27

Please sign in to comment.