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
All checks were successful
Build and publish Docker image / build-and-push (push) Successful in 25m15s
Reviewed-on: #5
This commit is contained in:
@@ -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"]
|
||||||
Reference in New Issue
Block a user