Add codium to base image
This commit is contained in:
@@ -14,4 +14,12 @@ ADD load-user-bashrc.sh /etc/profile.d/99-load-user-bashrc.sh
|
|||||||
|
|
||||||
RUN dnf install --assumeyes \
|
RUN dnf install --assumeyes \
|
||||||
powerline \
|
powerline \
|
||||||
make
|
make \
|
||||||
|
jq
|
||||||
|
|
||||||
|
ADD install-codium.bash /tmp/install-codium.bash
|
||||||
|
RUN /tmp/install-codium.bash
|
||||||
|
RUN dnf install --assumeyes \
|
||||||
|
/tmp/rpms/*.rpm
|
||||||
|
RUN rm -rf /tmp/install-codium.bash
|
||||||
|
RUN rm -rf /tmp/rpms
|
||||||
|
|||||||
11
install-codium.bash
Executable file
11
install-codium.bash
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
latest_codium=$(curl -sSL https://api.github.com/repos/VSCodium/vscodium/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
mkdir -p /tmp/rpms
|
||||||
|
|
||||||
|
echo "Downloading vscodium-${latest_codium}..."
|
||||||
|
curl -sSLo /tmp/rpms/codium.rpm "https://github.com/VSCodium/vscodium/releases/download/${latest_codium}/codium-${latest_codium}-el9.x86_64.rpm"
|
||||||
|
|
||||||
Reference in New Issue
Block a user