Skip to content

Commit

Permalink
rename vtpmd to vtpm
Browse files Browse the repository at this point in the history
Signed-off-by: Shahriyar Jalayeri <[email protected]>
  • Loading branch information
shjala committed Jul 25, 2024
1 parent 49c9ca0 commit 07a27a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vtpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ RUN ./bootstrap && \
RUN cp lib/.libs/libcommon.so* /out/usr/lib/
RUN cp tools/.libs/tpm2 /out/usr/bin/

# Build vtpmd
# Build vtpm
WORKDIR /vtpm-build
COPY vtpm/src/ /vtpm-build/.
COPY vtpm/ /vtpm-build/.
Expand All @@ -59,7 +59,7 @@ RUN echo "Running go vet" && go vet ./... && echo "Running go fmt" && \
ERR=$(gofmt -e -l -s $(find . -name \*.go | grep -v /vendor/)) && \
if [ -n "$ERR" ] ; then echo "go fmt Failed - ERR: $ERR"; exit 1 ; fi
RUN GO111MODULE=on CGO_ENABLED=0 go build -ldflags "-s -w -X=main.Version=${GOPKGVERSION}" \
-mod=vendor -o /out/usr/bin/vtpmd .
-mod=vendor -o /out/usr/bin/vtpm .

# Build ptpmd
WORKDIR /ptpm-build
Expand Down

0 comments on commit 07a27a8

Please sign in to comment.