Skip to content

Commit

Permalink
Added Minecraft and Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
iiamabby committed Mar 3, 2024
1 parent fdfcdd3 commit cc07a41
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,15 @@ RUN wget https://github.com/docker/compose/releases/latest/download/docker-compo
install -c -m 0755 /tmp/docker-compose /usr/bin
RUN systemctl enable docker.socket && \
systemctl enable podman.socket

RUN rpm-ostree install -y java-17-openjdk && \
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 --installation=image -y org.mozilla.firefox net.sonic_pi.SonicPi edu.mit.Scratch flatpak install org.eclipse.Java
RUN rm -fr /tmp/* /var/* \
&& ostree container commit

0 comments on commit cc07a41

Please sign in to comment.