Skip to content

Commit 173e2aa

Browse files
committed
che #14947: Releasing 7.3.1 version of the che-machine-exec. Adding rhel.Dockerfile
Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
1 parent 93246ee commit 173e2aa

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0
1+
7.3.1

rhel.Dockerfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright (c) 2019 Red Hat, Inc.
2+
# This program and the accompanying materials are made
3+
# available under the terms of the Eclipse Public License 2.0
4+
# which is available at https://www.eclipse.org/legal/epl-2.0/
5+
#
6+
# SPDX-License-Identifier: EPL-2.0
7+
#
8+
# Contributors:
9+
# Red Hat, Inc. - initial API and implementation
10+
#
11+
12+
# https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/rhel8/go-toolset
13+
FROM rhel8/go-toolset:1.11.13-18 as builder
14+
ENV PATH=/opt/rh/go-toolset-1.11/root/usr/bin:$PATH \
15+
GOPATH=/go/
16+
USER root
17+
WORKDIR /go/src/github.com/eclipse/che-machine-exec/
18+
COPY . .
19+
RUN adduser unprivilegeduser && \
20+
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-w -s' -a -installsuffix cgo -o che-machine-exec .
21+
22+
FROM scratch
23+
COPY --from=builder /etc/passwd /etc/passwd
24+
COPY --from=builder /go/src/github.com/eclipse/che-machine-exec/che-machine-exec /go/bin/che-machine-exec
25+
USER unprivilegeduser
26+
ENTRYPOINT ["/go/bin/che-machine-exec"]
27+
28+
# append Brew metadata here

0 commit comments

Comments
 (0)