forked from Job79/devcontainer
env
This commit is contained in:
@@ -4,7 +4,7 @@ FROM quay.io/fedora/fedora:43
|
|||||||
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||||
dnf update -y && \
|
dnf update -y && \
|
||||||
dnf -y --setopt=keepcache=1 install \
|
dnf -y --setopt=keepcache=1 install \
|
||||||
procps ping bash-completion glibc-langpack-en \
|
procps ping bash-completion glibc-langpack-en openssl-devel \
|
||||||
host-spawn dbus-launch \
|
host-spawn dbus-launch \
|
||||||
git pnpm helix zip rsync \
|
git pnpm helix zip rsync \
|
||||||
dotnet-sdk-9.0 dotnet-sdk-10.0 go
|
dotnet-sdk-9.0 dotnet-sdk-10.0 go
|
||||||
@@ -36,13 +36,14 @@ RUN /bin/bash -c "SHELL=/bin/bash pnpm setup && . /home/user/.bashrc && pnpm i -
|
|||||||
typescript typescript-language-server"
|
typescript typescript-language-server"
|
||||||
|
|
||||||
RUN dotnet tool install --global dotnet-ef
|
RUN dotnet tool install --global dotnet-ef
|
||||||
|
RUN echo 'export PATH="$PATH:/home/user/.dotnet/tools:/home/user/.cargo/env"' >> /home/user/.bashrc
|
||||||
|
|
||||||
# === Rust toolchain ===
|
# === Rust toolchain ===
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
RUN . '/home/user/.cargo/env' && rustup component add rust-analyzer
|
RUN . /home/user/.bashrc && rustup component add rust-analyzer
|
||||||
|
|
||||||
# WASM toolchain
|
# WASM toolchain
|
||||||
RUN . '/home/user/.cargo/env' && curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
|
RUN . /home/user/.bashrc && curl https://drager.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||||
RUN . '/home/user/.cargo/env' && cargo install cargo-generate
|
RUN . /home/user/.bashrc && cargo install cargo-generate
|
||||||
|
|
||||||
VOLUME /home/user
|
VOLUME /home/user
|
||||||
|
|||||||
Reference in New Issue
Block a user