llm, improve AGENTS since model thinks it can ignore putting the Kotlin version in the build file, ensure a few critical components are installed on open-terminal image, give the built container a name.
This commit is contained in:
1 parent
9ab9f0095b
commit
b4fc988f97
1 file changed
+17
-2
@@ -650,6 +650,12 @@
|
||||
- Kotlin: 2.4.20
|
||||
- Java: JDK 17
|
||||
- Flutter (plugin loader): 1.0.0
|
||||
|
||||
Regardless of whether AGP bundles Kotlin, we need to specify it to
|
||||
avoid things like "Your project's Kotlin version (2.2.10) is lower
|
||||
than Flutter's minimum supported version of 2.2.20. Please upgrade
|
||||
your Kotlin version." This is exactly why we use these versions,
|
||||
plus it helps document what's actually being used over guessing.
|
||||
backup: false
|
||||
owner: "{{ user }}"
|
||||
group: "{{ user }}"
|
||||
@@ -684,6 +690,7 @@
|
||||
build:
|
||||
context: ./
|
||||
network: host
|
||||
image: hyperling-open-terminal:latest
|
||||
container_name: open-terminal
|
||||
network_mode: host
|
||||
dns:
|
||||
@@ -733,14 +740,18 @@
|
||||
|
||||
USER root
|
||||
|
||||
RUN echo "System"
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates git curl bash sudo wget ansible ansible-lint
|
||||
|
||||
RUN echo "Android"
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libc6:amd64 libncurses-dev \
|
||||
libstdc++6 lib32z1 libbz2-1.0 android-udev-rules
|
||||
# Debian removed JDK 17, continue serving from the host.
|
||||
# Debian removed JDK 17, continue serving from the host.
|
||||
# default-jdk openjdk-17-jdk
|
||||
|
||||
RUN echo "Flutter (Main)"
|
||||
RUN echo "Flutter"
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl git unzip xz-utils zip libglu1-mesa libglu1-mesa
|
||||
|
||||
@@ -753,6 +764,10 @@
|
||||
RUN apt-get update && apt-get install -y \
|
||||
libc6:amd64 libstdc++6 lib32z1 libbz2-1.0
|
||||
|
||||
RUN echo "Ansible"
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ansible ansible-lint
|
||||
|
||||
USER user
|
||||
owner: root
|
||||
mode: "0755"
|
||||
|
||||
Reference in new issue
Block a user