Compare commits
8 Commits
ed2eef5cee
...
0.0.6
| Author | SHA1 | Date | |
|---|---|---|---|
| da754ca754 | |||
| ae99faf486 | |||
|
|
a51f619dbe | ||
| 6f4a6fdedc | |||
| 143d912da8 | |||
| edeb0d808e | |||
| 8fcc4bb189 | |||
|
|
af91b2be02 |
@@ -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
|
||||
34
Dockerfile
34
Dockerfile
@@ -11,8 +11,38 @@ RUN dnf update -y && \
|
||||
which \
|
||||
vim \
|
||||
jq \
|
||||
python3-pip && \
|
||||
createrepo_c \
|
||||
golang \
|
||||
python3-pip \
|
||||
curl \
|
||||
git \
|
||||
tree \
|
||||
htop \
|
||||
tmux \
|
||||
screen \
|
||||
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
|
||||
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 && \
|
||||
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