-
Notifications
You must be signed in to change notification settings - Fork 7
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 #66 from NVIDIA/gh_runner_image
Add image for gh runners
- Loading branch information
Showing
3 changed files
with
80 additions
and
0 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
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,27 @@ | ||
# Cache Holodeck image | ||
FROM ghcr.io/nvidia/holodeck:v0.1.1 AS holodeck | ||
|
||
# https://github.com/actions/runner/blob/main/images/Dockerfile | ||
FROM ghcr.io/actions/actions-runner:2.317.0 AS runner | ||
|
||
USER root | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
curl \ | ||
git \ | ||
make \ | ||
gpg \ | ||
iptables \ | ||
jq \ | ||
lsb-release \ | ||
python3 \ | ||
sudo \ | ||
unzip \ | ||
zip \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=holodeck /go/bin/holodeck /usr/local/bin/holodeck | ||
|
||
USER runner |