-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add independent Dockerfile for GHCR (#17)
* Add independent dockerfile for community * Remove double newlines in dockerfiles
- Loading branch information
1 parent
ba3939f
commit ef11a54
Showing
3 changed files
with
30 additions
and
5 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,29 @@ | ||
FROM registry.suse.com/bci/bci-base:15.4 | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/trento-project/checks" | ||
|
||
# If set to C, LC_ALL takes precedence | ||
ENV LC_ALL=C.UTF-8 | ||
|
||
# tar is required by kubectl cp | ||
RUN zypper --non-interactive in -y tar && \ | ||
zypper --non-interactive clean | ||
|
||
RUN mkdir --mode=0600 /tmp/trento-checks-build | ||
|
||
WORKDIR /tmp/trento-checks-build | ||
|
||
# checks.tar.gz is provided by OBS (build.opensuse.org) | ||
ADD checks.tar.gz . | ||
|
||
RUN install --directory --mode=0755 /usr/src/trento-checks | ||
RUN install --directory --mode=0755 /usr/src/trento-checks/checks | ||
RUN install --preserve-timestamps --mode=0644 ./checks/checks/* /usr/src/trento-checks/checks | ||
RUN install --preserve-timestamps --mode=0755 ./checks/bin/trento-install-checks /usr/bin/trento-install-checks | ||
|
||
WORKDIR / | ||
|
||
RUN rm -r /tmp/trento-checks-build | ||
|
||
ENTRYPOINT ["/usr/bin/trento-install-checks"] | ||
|
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