Skip to content

Commit 61aba4f

Browse files
committed
set path, removed all other instances of Java
1 parent e6cfba7 commit 61aba4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Containerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ COPY modules /tmp/modules/
4444
# `yq` is used for parsing the yaml configuration
4545
# It is copied from the official container image since it's not available as an RPM.
4646
COPY --from=docker.io/mikefarah/yq /usr/bin/yq /usr/bin/yq
47+
# Install Java
4748
RUN rpm-ostree install -y java-17-openjdk
49+
RUN export PATH="/usr/lib/jvm/java-17-openjdk-17.x.y.z/bin:$PATH"
50+
4851
# Run the build script, then clean up temp files and finalize container build.
4952
RUN chmod +x /tmp/build.sh && /tmp/build.sh && \
5053
rm -rf /tmp/* /var/* && ostree container commit

config/files/usr/share/ublue-os/firstboot/yafti.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ screens:
5858
description: Core system applications for the GNOME desktop environment.
5959
default: true
6060
packages:
61-
- Eclipse: org.eclipse.Java
6261
- Calculator: org.gnome.Calculator
6362
- Calendar: org.gnome.Calendar
6463
- Camera: org.gnome.Snapshot

0 commit comments

Comments
 (0)