mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
feat(packages:mosh): add mosh-server and mosh-client
This commit is contained in:
parent
779f252954
commit
acf135888b
3 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue