fix: add golang installation and update bash aliases in Dockerfile #5

Merged
admin merged 1 commits from add-features into main 2025-07-02 08:27:42 -05:00
Showing only changes of commit a51f619dbe - Show all commits

View File

@@ -12,6 +12,7 @@ RUN dnf update -y && \
vim \ vim \
jq \ jq \
createrepo_c \ createrepo_c \
golang \
python3-pip && \ python3-pip && \
dnf group install -y "Development Tools" && \ dnf group install -y "Development Tools" && \
dnf clean all && \ dnf clean all && \
@@ -20,6 +21,8 @@ RUN dnf update -y && \
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -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 ;; \ *) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
esac && \ esac && \
chmod +x /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"]