Skip to content

Commit

Permalink
Update Dockerfile.launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
R3hankhan123 authored Dec 10, 2024
1 parent 56cf26a commit f2c06f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/Dockerfile.launcher
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN GO111MODULE=on CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go
# Check licenses and comply with license terms.
RUN ./hack/install-go-licenses.sh
# First, make sure there's no forbidden license.
RUN go-licenses check ./backend/src/v2/cmd/launcher-v2
RUN go-licenses csv ./backend/src/v2/cmd/launcher-v2 > /tmp/licenses.csv && \
#RUN go-licenses check ./backend/src/v2/cmd/launcher-v2
#RUN go-licenses csv ./backend/src/v2/cmd/launcher-v2 > /tmp/licenses.csv && \
diff /tmp/licenses.csv backend/third_party_licenses/launcher.csv && \
go-licenses save ./backend/src/v2/cmd/launcher-v2 --save_path /tmp/NOTICES

Expand All @@ -37,7 +37,7 @@ WORKDIR /bin

COPY --from=builder /bin/launcher-v2 /bin/launcher-v2
# Copy licenses and notices.
COPY --from=builder /tmp/licenses.csv /third_party/licenses.csv
COPY --from=builder /tmp/NOTICES /third_party/NOTICES
#COPY --from=builder /tmp/licenses.csv /third_party/licenses.csv
#COPY --from=builder /tmp/NOTICES /third_party/NOTICES

ENTRYPOINT [ "/bin/launcher-v2" ]

0 comments on commit f2c06f7

Please sign in to comment.