mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
* ferretdb v2 now that they support arm64 * remove ignored for sqlite * tweak * mongo copier * 1.17.6 * primary name is ferretdb option * give doc counts * fmt * print document count * komodo util versioned seperately * add copy startup sleep * FerretDB v2 upgrade guide * tweak docs * tweak * tweak * add link to upgrade guide for ferretdb v1 users * fix copy batch size * multi arch util setup * util use workspace version * clarify behavior re root_directory * finished copying database log * update to rust:1.87.0 * fix: reset rename editor on navigate * loosen naming restrictions for most resource types * added support for ntfy email forwarding (#493) * fix alerter email option docs * remove logging directive in example compose - can be done at user discretion * more granular permissions * fix initial fe type errors * fix the new perm typing * add dedicated ws routes to connect to deployment / stack terminal, using the permissioning on those entities * frontend should convey / respect the perms * use IndexSet for SpecificPermission * finish IndexSet * match regex or wildcard resource name pattern * gen ts client * implement new terminal components which use the container / deployment / stack specific permissioned endpoints * user group backend "everyone" support * bump to 1.18.0 for significant permissioning changes * ts 1.18.0 * permissions FE in prog * FE permissions assignment working * user group all map uses ordered IndexMap for consistency * improve user group toml and fix execute bug * URL encode names in webhook urls * UI support configure 'everyone' User Group * sync handle toggling user group everyone * user group table show everyone enabled * sync will update user group "everyone" * Inspect Deployment / Stack containers directly * fix InspectStackContainer container name * Deployment / stack service inspect * Stack / Deployment inherit Logs, Inspect and Terminal from their attached server for user * fix compose down not capitalized * don't use tabs * more descriptive permission table titles * different localstorage for permissions show all * network / image / volume inspect don't require inspect perms * fix container inspect * fix list container undefined error * prcesses list gated UI * remove localstorage on permission table expansion * fix ug sync handling of all zero permissions * pretty log startup config * implement actually pretty logging initial config * fix user permissions when api returns string * fix container info table * util based on bullseye-slim * permission toml specific skip_serializing_if = "IndexSet::is_empty" * container tab permissions reversed * reorder pretty logging stuff to be together * update docs with permissioning info * tweak docs * update roadmap --------- Co-authored-by: FelixBreitweiser <felix.breitweiser@uni-siegen.de>
27 lines
962 B
Docker
27 lines
962 B
Docker
## Assumes the latest binaries for x86_64 and aarch64 are already built (by binaries.Dockerfile).
|
|
## Since theres no heavy build here, QEMU multi-arch builds are fine for this image.
|
|
|
|
ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest
|
|
ARG X86_64_BINARIES=${BINARIES_IMAGE}-x86_64
|
|
ARG AARCH64_BINARIES=${BINARIES_IMAGE}-aarch64
|
|
|
|
# This is required to work with COPY --from
|
|
FROM ${X86_64_BINARIES} AS x86_64
|
|
FROM ${AARCH64_BINARIES} AS aarch64
|
|
|
|
FROM debian:bullseye-slim
|
|
|
|
WORKDIR /app
|
|
|
|
## Copy both binaries initially, but only keep appropriate one for the TARGETPLATFORM.
|
|
COPY --from=x86_64 /util /app/arch/linux/amd64
|
|
COPY --from=aarch64 /util /app/arch/linux/arm64
|
|
|
|
ARG TARGETPLATFORM
|
|
RUN mv /app/arch/${TARGETPLATFORM} /usr/local/bin/util && rm -r /app/arch
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo
|
|
LABEL org.opencontainers.image.description="Komodo Util"
|
|
LABEL org.opencontainers.image.licenses=GPL-3.0
|
|
|
|
CMD [ "util" ] |