Compare commits

..
2 Commits
+25 -2
View File
@@ -574,11 +574,19 @@
container. You are the user `user` and have been granted access to container. You are the user `user` and have been granted access to
the designer's Code and SDKs via mount at `{{ user_user.home }}`. the designer's Code and SDKs via mount at `{{ user_user.home }}`.
Host system is typically (but not always) a systemd-free distro
such as Artix or Devuan. User likes the `runit` service manager.
`elogind` is used rather than systemd's logind. Desktop is i3 and
display manager is lightdm. Servers are run on Debian and Docker
containers are typically debian:trixie-slim with a Dockerfile
called by compose.yml which adds the necessary packages, sometimes
building from source if the Debian executable is too old.
If the `$GOT_EM` environment variable is `true` then all the If the `$GOT_EM` environment variable is `true` then all the
necessary packages for compiling Android and Flutter were necessary packages for compiling Android and Flutter were
installed. If it is `false` then they were not installed, and installed. If it is `false` then they were not installed, and
compiling will fail. Please check this before trying and alert me compiling will fail. Please check this before trying and alert me
if they need added. If we don;t have Internet, then ask me to if they need added. If we don't have Internet, then ask me to
compile or run whatever command is needed on the host system. compile or run whatever command is needed on the host system.
# Rules # Rules
@@ -650,6 +658,12 @@
- Kotlin: 2.4.20 - Kotlin: 2.4.20
- Java: JDK 17 - Java: JDK 17
- Flutter (plugin loader): 1.0.0 - 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 backup: false
owner: "{{ user }}" owner: "{{ user }}"
group: "{{ user }}" group: "{{ user }}"
@@ -684,6 +698,7 @@
build: build:
context: ./ context: ./
network: host network: host
image: hyperling-open-terminal:latest
container_name: open-terminal container_name: open-terminal
network_mode: host network_mode: host
dns: dns:
@@ -733,6 +748,10 @@
USER root 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 echo "Android"
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libc6:amd64 libncurses-dev \ libc6:amd64 libncurses-dev \
@@ -740,7 +759,7 @@
# Debian removed JDK 17, continue serving from the host. # Debian removed JDK 17, continue serving from the host.
# default-jdk openjdk-17-jdk # default-jdk openjdk-17-jdk
RUN echo "Flutter (Main)" RUN echo "Flutter"
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
curl git unzip xz-utils zip libglu1-mesa libglu1-mesa curl git unzip xz-utils zip libglu1-mesa libglu1-mesa
@@ -753,6 +772,10 @@
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libc6:amd64 libstdc++6 lib32z1 libbz2-1.0 libc6:amd64 libstdc++6 lib32z1 libbz2-1.0
RUN echo "Ansible"
RUN apt-get update && apt-get install -y \
ansible ansible-lint
USER user USER user
owner: root owner: root
mode: "0755" mode: "0755"