feat(packages:mosh): add mosh-server and mosh-client

This commit is contained in:
Tine Jozelj 2020-12-25 18:32:27 +01:00
parent 779f252954
commit acf135888b
No known key found for this signature in database
GPG key ID: 3818B74E3830D7CF
3 changed files with 7 additions and 1 deletions

View file

@ -55,6 +55,8 @@ COPY --from=ghcr.io/mentos1386/starship:0.47.0 /usr/local/bin/starship /usr/loca
COPY --from=ghcr.io/mentos1386/kubectl:1.20.0 /usr/local/bin/kubectl /usr/local/bin/kubectl
COPY --from=ghcr.io/mentos1386/glow:1.3.0 /usr/local/bin/glow /usr/local/bin/glow
COPY --from=ghcr.io/mentos1386/mosh:master /usr/local/bin/mosh /usr/local/bin/mosh
COPY --from=ghcr.io/mentos1386/mosh:master /usr/local/bin/mosh-server /usr/local/bin/mosh-server
COPY --from=ghcr.io/mentos1386/mosh:master /usr/local/bin/mosh-client /usr/local/bin/mosh-client
# Golang
COPY --from=golang:1.15.6 --chown=${SSH_USER} /usr/local/go /home/${SSH_USER}/.go
ENV PATH=/home/${SSH_USER}/.go/bin:$PATH

View file

@ -1,4 +1,6 @@
REGISTRY=ghcr.io/mentos1386
PROGRESS=plain
build:
@docker buildx build --load -t ${REGISTRY}/workspace-ubuntu:edge -f Dockerfile.ubuntu .
@ -13,7 +15,7 @@ build-package-glow:
@docker buildx build --load -t ${REGISTRY}/glow:1.3.0 -f packages/Dockerfile.glow packages/
build-package-mosh:
@docker buildx build --load -t ${REGISTRY}/mosh:master -f packages/Dockerfile.mosh packages/
@docker buildx build --progress ${PROGRESS} --load -t ${REGISTRY}/mosh:master -f packages/Dockerfile.mosh packages/
build-packages: package-kubectl package-starship

View file

@ -47,6 +47,8 @@ LABEL org.opencontainers.image.source https://github.com/mentos1386/workspace
RUN apk --no-cache add perl
COPY --from=build /usr/local/bin/mosh /usr/local/bin/mosh
COPY --from=build /usr/local/bin/mosh-server /usr/local/bin/mosh-server
COPY --from=build /usr/local/bin/mosh-client /usr/local/bin/mosh-client
ENTRYPOINT /usr/local/bin/mosh