Compare commits
8 Commits
0.0.1
...
base-image
| Author | SHA1 | Date | |
|---|---|---|---|
| e17375fec0 | |||
| 6f4a6fdedc | |||
| 143d912da8 | |||
| edeb0d808e | |||
| 8fcc4bb189 | |||
|
|
af91b2be02 | ||
| ed2eef5cee | |||
|
|
880ac28eb6 |
@@ -16,6 +16,9 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: gitea/runner-images:ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
name: Run Actions
|
|
||||||
run-name: ${{ gitea.actor }} compiles
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
- main
|
|
||||||
tags:
|
|
||||||
- '*.*.*'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push-image:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
steps:
|
|
||||||
- name: Dump Environment Variables
|
|
||||||
run: |
|
|
||||||
env | sort
|
|
||||||
12
Dockerfile
12
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM rockylinux:9
|
FROM rockylinux/rockylinux:9
|
||||||
|
|
||||||
RUN dnf update -y && \
|
RUN dnf update -y && \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
@@ -10,8 +10,16 @@ RUN dnf update -y && \
|
|||||||
wget \
|
wget \
|
||||||
which \
|
which \
|
||||||
vim \
|
vim \
|
||||||
|
jq \
|
||||||
|
createrepo_c \
|
||||||
python3-pip && \
|
python3-pip && \
|
||||||
dnf group install -y "Development Tools" && \
|
dnf group install -y "Development Tools" && \
|
||||||
dnf clean all
|
dnf clean all && \
|
||||||
|
case "$(uname -m)" in \
|
||||||
|
x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \
|
||||||
|
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \
|
||||||
|
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
||||||
|
esac && \
|
||||||
|
chmod +x /usr/local/bin/yq
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
Reference in New Issue
Block a user