mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-21 22:00:36 -05:00
* add terminal (ssh) apis * add core terminal exec method * terminal typescript client method * terminals WIP * backend for pty * add ts responses * about wire everything * add new blog * credit Skyfay * working * regen lock * 1.17.4-dev-1 * pty history * replace the test terminal impl with websocket (pty) * create api and improve frontend * fix fe * terminals * disable terminal api on periphery * implement write level terminal perms * remove unneeded * fix clippy * delete unneeded * fix waste cpu cycles * set TERM and COLORTERM for shell environment * fix xterm scrolling behavior * starship promp in periphery container terminal * kill all terminals on periphery shutdown signal * improve starship config and enable ssl in compose * use same scrollTop setter * fix periphery container distribution link * support custom command / args to init terminal * allow fully configurable init command * docker exec into container * add permissioning for container exec * add starship to core container * add delete all terminals * dev-2 * finished gen client * core need curl * hide Terminal trigger if disabled * 1.17.4
23 lines
760 B
Docker
23 lines
760 B
Docker
## Assumes the latest binaries for the required arch are already built (by binaries.Dockerfile).
|
|
## Sets up the necessary runtime container dependencies for Komodo Periphery.
|
|
|
|
ARG BINARIES_IMAGE=ghcr.io/moghtech/komodo-binaries:latest
|
|
|
|
# This is required to work with COPY --from
|
|
FROM ${BINARIES_IMAGE} AS binaries
|
|
|
|
FROM debian:bullseye-slim
|
|
|
|
COPY ./bin/periphery/starship.toml /config/starship.toml
|
|
COPY ./bin/periphery/debian-deps.sh .
|
|
RUN sh ./debian-deps.sh && rm ./debian-deps.sh
|
|
|
|
COPY --from=binaries /periphery /usr/local/bin/periphery
|
|
|
|
EXPOSE 8120
|
|
|
|
LABEL org.opencontainers.image.source=https://github.com/moghtech/komodo
|
|
LABEL org.opencontainers.image.description="Komodo Periphery"
|
|
LABEL org.opencontainers.image.licenses=GPL-3.0
|
|
|
|
CMD [ "periphery" ] |