-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from essentialkaos/develop
Version 3.4.3
- Loading branch information
Showing
15 changed files
with
426 additions
and
200 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## REGISTRY CONFIGURATION ###################################################### | ||
|
||
ARG REGISTRY="docker.io" | ||
|
||
## BUILDER ##################################################################### | ||
|
||
FROM ${REGISTRY}/essentialkaos/golang:ol8 as builder | ||
|
||
WORKDIR /go/src/github.com/essentialkaos/rbinstall | ||
|
||
COPY . . | ||
|
||
RUN make deps && make all | ||
|
||
## FINAL IMAGE ################################################################ | ||
|
||
FROM ${REGISTRY}/essentialkaos/oraclelinux:8 | ||
|
||
LABEL org.opencontainers.image.title="rbinstall-installer-ol8" \ | ||
org.opencontainers.image.description="RBInstall Installer Image (OL 8)" \ | ||
org.opencontainers.image.vendor="ESSENTIAL KAOS" \ | ||
org.opencontainers.image.authors="Anton Novojilov" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.url="https://kaos.sh/rbinstall" \ | ||
org.opencontainers.image.source="https://github.com/essentialkaos/rbinstall" | ||
|
||
RUN dnf -y -q install https://yum.kaos.st/kaos-repo-latest.el8.noarch.rpm && \ | ||
dnf -y -q install rbenv libyaml jemalloc jre11 && \ | ||
dnf -y -q module disable "*" && \ | ||
dnf clean all && rm -rf /var/cache/dnf /var/log/dnf.* && \ | ||
mkdir -p /var/log/rbinstall && ln -sf /dev/null var/log/rbinstall/rbinstall.log | ||
|
||
COPY --from=builder /go/src/github.com/essentialkaos/rbinstall/rbinstall /usr/bin/ | ||
COPY --from=builder /go/src/github.com/essentialkaos/rbinstall/common/rbinstall.knf /etc/ | ||
|
||
ENV PATH /usr/local/rbenv/shims:$PATH | ||
|
||
CMD [ "rbinstall" ] | ||
|
||
################################################################################ |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## REGISTRY CONFIGURATION ###################################################### | ||
|
||
ARG REGISTRY="docker.io" | ||
|
||
## BUILDER ##################################################################### | ||
|
||
FROM ${REGISTRY}/essentialkaos/golang:ol9 as builder | ||
|
||
WORKDIR /go/src/github.com/essentialkaos/rbinstall | ||
|
||
COPY . . | ||
|
||
RUN make deps && make all | ||
|
||
## FINAL IMAGE ################################################################ | ||
|
||
FROM ${REGISTRY}/essentialkaos/oraclelinux:9 | ||
|
||
LABEL org.opencontainers.image.title="rbinstall-installer-ol9" \ | ||
org.opencontainers.image.description="RBInstall Installer Image (OL 9)" \ | ||
org.opencontainers.image.vendor="ESSENTIAL KAOS" \ | ||
org.opencontainers.image.authors="Anton Novojilov" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.url="https://kaos.sh/rbinstall" \ | ||
org.opencontainers.image.source="https://github.com/essentialkaos/rbinstall" | ||
|
||
RUN dnf -y -q install https://yum.kaos.st/kaos-repo-latest.el9.noarch.rpm && \ | ||
dnf -y -q install rbenv rbinstall libyaml jemalloc jre11 && \ | ||
dnf clean all && rm -rf /var/cache/dnf /var/log/dnf.* && \ | ||
mkdir -p /var/log/rbinstall && ln -sf /dev/null var/log/rbinstall/rbinstall.log | ||
|
||
COPY --from=builder /go/src/github.com/essentialkaos/rbinstall/rbinstall /usr/bin/ | ||
COPY --from=builder /go/src/github.com/essentialkaos/rbinstall/common/rbinstall.knf /etc/ | ||
|
||
ENV PATH /usr/local/rbenv/shims:$PATH | ||
|
||
CMD [ "rbinstall" ] | ||
|
||
################################################################################ |
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
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.