forked from Job79/devcontainer
fix: cache dnf installs (and remove cache from images)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
FROM git.plabble.org/maurice/fedora:main
|
||||
|
||||
USER root
|
||||
RUN dnf -y install dotnet-sdk-9.0 dotnet-sdk-10.0
|
||||
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
|
||||
dnf -y --setopt=keepcache=1 install dotnet-sdk-9.0 dotnet-sdk-10.0
|
||||
|
||||
COPY install-roslyn.sh /tmp/install-roslyn.sh
|
||||
RUN chmod +x /tmp/install-roslyn.sh && /tmp/install-roslyn.sh
|
||||
|
||||
USER user
|
||||
RUN dotnet tool install --global dotnet-ef
|
||||
RUN dotnet tool install --global dotnet-ef
|
||||
|
||||
Reference in New Issue
Block a user