11 Commits
0.0.4 ... main

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
2 changed files with 34 additions and 13 deletions

View File

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

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 \
iputils \
iproute \
@@ -12,14 +12,38 @@ RUN dnf update -y && \
vim \
jq \
createrepo_c \
python3-pip && \
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 && \
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 ;; \
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 && \
chmod +x /usr/local/bin/yq
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"]