-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove Brew metadata; leave placeholder to sed-replace later
Change-Id: I981830c7d239d342ed14c1a819009711e6357fed Signed-off-by: nickboldt <[email protected]>
- Loading branch information
Showing
1 changed file
with
2 additions
and
19 deletions.
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 |
---|---|---|
|
@@ -20,26 +20,9 @@ RUN adduser unprivilegeduser && \ | |
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o che-machine-exec . | ||
|
||
FROM scratch | ||
ENV SUMMARY="Red Hat CodeReady Workspaces machine exec container" \ | ||
DESCRIPTION="Red Hat CodeReady Workspaces machine exec container" \ | ||
PRODNAME="codeready-workspaces" \ | ||
COMPNAME="machineexec-rhel8" | ||
LABEL summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
io.k8s.display-name="$DESCRIPTION" \ | ||
io.openshift.tags="$PRODNAME,$COMPNAME" \ | ||
com.redhat.component="$PRODNAME-$COMPNAME-container" \ | ||
name="$PRODNAME/$COMPNAME" \ | ||
version="2.0" \ | ||
license="EPLv2" \ | ||
maintainer="Nick Boldt <[email protected]>" \ | ||
io.openshift.expose-services="" \ | ||
usage="" | ||
|
||
COPY --from=builder /etc/passwd /etc/passwd | ||
COPY --from=builder /go/src/github.com/eclipse/che-machine-exec/che-machine-exec /go/bin/che-machine-exec | ||
|
||
USER unprivilegeduser | ||
|
||
ENTRYPOINT ["/go/bin/che-machine-exec"] | ||
|
||
# append Brew metadata here |
19c1fed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks
I didn't saw pull request ?
19c1fed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't bother, it's process overkill for a change you explicitly asked for... and it's to change a file that's not involved in building Che 7, only a reference file for building downstream.