18 Commits

Author SHA1 Message Date
Stephen Simpson
f8d598fc29 Remove redundant registry retrieval step and use environment variable directly in Docker workflow
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m37s
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-10-27 09:21:05 -05:00
Stephen Simpson
95854ddd05 Refactor registry handling in Docker workflow to use RUNNER_REGISTRY environment variable
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 3m46s
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-10-24 12:33:56 -05:00
d97dc0d987 Update .gitea/workflows/docker-image-linux.yml
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m10s
2025-10-22 21:46:14 -05:00
15717fff54 Update Dockerfile
Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
2025-10-22 19:47:58 -05:00
84df07759c Removing update
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 4m21s
2025-10-22 19:39:04 -05:00
0a60f500a4 Removed screen and htop add epel
Some checks are pending
Build and publish Docker image / build-and-push (push) Waiting to run
2025-10-22 18:56:37 -05:00
b0262ab897 Fix formatting
Some checks failed
Build and publish Docker image / build-and-push (push) Has been cancelled
2025-10-22 18:48:40 -05:00
40cb279e2e Update
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 5m7s
2025-09-21 11:27:34 -05:00
da754ca754 fix: update Dockerfile to include additional packages for development environment
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 3m38s
Signed-off-by: Stephen Simpson <stevo81989@gmail.com>
2025-08-14 20:23:34 -05:00
ae99faf486 Merge pull request 'fix: add golang installation and update bash aliases in Dockerfile' (#5) from add-features into main
All checks were successful
Build and publish Docker image / build-and-push (push) Successful in 25m15s
Reviewed-on: #5
2025-07-02 08:27:42 -05:00
Stephen Simpson
a51f619dbe fix: add golang installation and update bash aliases in Dockerfile
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-07-02 08:27:25 -05:00
6f4a6fdedc fix: update Docker workflow to include container image and remove obsolete test workflow
Some checks failed
Build and publish Docker image / build-and-push (push) Failing after 18m1s
2025-05-24 09:06:48 -05:00
143d912da8 Merge pull request 'Added create repo' (#3) from add-createrepo into main
Some checks failed
Run Actions / build-and-push-image (push) Successful in 13s
Build and publish Docker image / build-and-push (push) Failing after 19m18s
Reviewed-on: #3
2025-05-23 10:43:49 -05:00
edeb0d808e Added create repo 2025-05-23 10:43:40 -05:00
8fcc4bb189 Merge pull request 'fix: add yq installation to Dockerfile for YAML processing support' (#2) from add-yq into main
All checks were successful
Run Actions / build-and-push-image (push) Successful in 2s
Build and publish Docker image / build-and-push (push) Successful in 19m17s
Reviewed-on: #2
2025-05-08 11:37:11 -05:00
Stephen Simpson
af91b2be02 fix: add yq installation to Dockerfile for YAML processing support
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-05-08 11:36:52 -05:00
ed2eef5cee Merge pull request 'fix: add jq package to Dockerfile for enhanced JSON processing' (#1) from add-jq into main
Some checks failed
Run Actions / build-and-push-image (push) Has been cancelled
Reviewed-on: #1
2025-05-08 11:12:22 -05:00
Stephen Simpson
880ac28eb6 fix: add jq package to Dockerfile for enhanced JSON processing
Signed-off-by: Stephen Simpson <ssimpson89@users.noreply.github.com>
2025-05-08 11:12:08 -05:00
3 changed files with 38 additions and 28 deletions

View File

@@ -10,12 +10,12 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
REGISTRY: gitea.sjs.io
IMAGE_NAME: rocky-dev IMAGE_NAME: rocky-dev
jobs: jobs:
build-and-push: build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
packages: write packages: write
@@ -33,7 +33,7 @@ jobs:
- name: Log in to registry - name: Log in to registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ vars.REGISTRY }}
username: ${{ vars.USERNAME }} username: ${{ vars.USERNAME }}
password: ${{ secrets.PASS }} password: ${{ secrets.PASS }}
@@ -41,7 +41,7 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }} images: ${{ vars.REGISTRY }}/${{ vars.USERNAME }}/${{ env.IMAGE_NAME }}
tags: | tags: |
# Only tag with version and latest on tag push # Only tag with version and latest on tag push
type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/') }} type=semver,pattern={{version}},enable=${{ startsWith(github.ref, 'refs/tags/') }}

View File

@@ -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

View File

@@ -1,6 +1,6 @@
FROM rockylinux:9 FROM rockylinux/rockylinux:9
RUN dnf update -y && \ RUN dnf install -y epel-release && \
dnf install -y \ dnf install -y \
iputils \ iputils \
iproute \ iproute \
@@ -10,8 +10,40 @@ RUN dnf update -y && \
wget \ wget \
which \ which \
vim \ 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 group install -y "Development Tools" && \
dnf clean all 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"] CMD ["/bin/bash"]