Compare commits
15 Commits
dbbf9df02d
...
0.0.8
| Author | SHA1 | Date | |
|---|---|---|---|
| 15717fff54 | |||
| 84df07759c | |||
| 0a60f500a4 | |||
| b0262ab897 | |||
| 40cb279e2e | |||
| da754ca754 | |||
| ae99faf486 | |||
|
|
a51f619dbe | ||
| 6f4a6fdedc | |||
| 143d912da8 | |||
| edeb0d808e | |||
| 8fcc4bb189 | |||
|
|
af91b2be02 | ||
| ed2eef5cee | |||
|
|
880ac28eb6 |
@@ -16,6 +16,9 @@ env:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea/runner-images:ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
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
|
||||
38
Dockerfile
38
Dockerfile
@@ -1,6 +1,6 @@
|
||||
FROM rockylinux:9
|
||||
FROM rockylinux/rockylinux:9
|
||||
|
||||
RUN dnf update -y && \
|
||||
RUN dnf install -y epel-release && \
|
||||
dnf install -y \
|
||||
iputils \
|
||||
iproute \
|
||||
@@ -10,8 +10,40 @@ RUN dnf update -y && \
|
||||
wget \
|
||||
which \
|
||||
vim \
|
||||
python3-pip && \
|
||||
jq \
|
||||
createrepo_c \
|
||||
golang \
|
||||
python3-pip \
|
||||
git \
|
||||
tree \
|
||||
tmux \
|
||||
nano \
|
||||
unzip \
|
||||
tar \
|
||||
gzip \
|
||||
rsync \
|
||||
nmap-ncat \
|
||||
telnet \
|
||||
bind-utils \
|
||||
tcpdump \
|
||||
strace \
|
||||
lsof \
|
||||
openssh-clients \
|
||||
nodejs \
|
||||
npm && \
|
||||
dnf group install -y "Development Tools" && \
|
||||
dnf clean all
|
||||
|
||||
RUN set -e && \
|
||||
ARCH=$(uname -m) && \
|
||||
case "$ARCH" in \
|
||||
x86_64) YQ_ARCH="amd64" ;; \
|
||||
aarch64) YQ_ARCH="arm64" ;; \
|
||||
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
||||
esac && \
|
||||
wget "https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_${YQ_ARCH}" -O /usr/local/bin/yq && \
|
||||
chmod +x /usr/local/bin/yq && \
|
||||
echo "alias ll='ls -l --color=auto'" >> /root/.bashrc && \
|
||||
echo "alias ls='ls --color=auto'" >> /root/.bashrc
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user