Skip to content

Commit

Permalink
Removed duplicates, re-arranged
Browse files Browse the repository at this point in the history
  • Loading branch information
iiamabby committed Mar 3, 2024
1 parent cc07a41 commit f790ea0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ RUN wget https://github.com/docker/compose/releases/latest/download/docker-compo
RUN systemctl enable docker.socket && \
systemctl enable podman.socket

RUN rpm-ostree install -y java-17-openjdk && \
mkdir minecraftforge && \
RUN mkdir minecraftforge && \
cd minecraftforge && \
wget "https://maven.minecraftforge.net/net/minecraftforge/forge/1.19-41.1.0/forge-1.19-41.1.0-mdk.zip" -O temp.zip && \
unzip temp.zip && \
rm temp.zip

RUN [ "$FLATPAKS_INSTALL" = "true" ] && flatpak remote-add --installation=image --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && \
flatpak install --installation=image -y org.mozilla.firefox net.sonic_pi.SonicPi edu.mit.Scratch flatpak install org.eclipse.Java
flatpak install --installation=image -y org.mozilla.firefox net.sonic_pi.SonicPi edu.mit.Scratch org.eclipse.Java
RUN rm -fr /tmp/* /var/* \
&& ostree container commit

0 comments on commit f790ea0

Please sign in to comment.