Skip to content

Commit

Permalink
remove Brew metadata; leave placeholder to sed-replace later
Browse files Browse the repository at this point in the history
Change-Id: I981830c7d239d342ed14c1a819009711e6357fed
Signed-off-by: nickboldt <[email protected]>
  • Loading branch information
nickboldt committed Oct 25, 2019
1 parent 66f0110 commit 19c1fed
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions rhel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 comments on commit 19c1fed

@benoitf
Copy link
Contributor

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 ?

@nickboldt
Copy link
Contributor Author

@nickboldt nickboldt commented on 19c1fed Oct 25, 2019

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.

Please sign in to comment.