mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-22 15:43:42 +00:00
feat: use alpine everywhere
This commit is contained in:
parent
5a1fa48898
commit
12be26577f
3 changed files with 6 additions and 8 deletions
|
@ -44,16 +44,16 @@ COPY --from=ghcr.io/mentos1386/mosh:master /usr/bin/mosh /usr/bin/mosh
|
|||
COPY --from=ghcr.io/mentos1386/mosh:master /usr/bin/mosh-server /usr/bin/mosh-server
|
||||
COPY --from=ghcr.io/mentos1386/mosh:master /usr/bin/mosh-client /usr/bin/mosh-client
|
||||
# Golang
|
||||
COPY --from=golang:1.15.6 --chown=${SSH_USER} /usr/local/go /home/${SSH_USER}/.go
|
||||
COPY --from=golang:1.15.6-alpine --chown=${SSH_USER} /usr/local/go /home/${SSH_USER}/.go
|
||||
ENV PATH=/home/${SSH_USER}/.go/bin:$PATH
|
||||
# Rust
|
||||
COPY --from=rust:1.48.0 --chown=${SSH_USER} /usr/local/cargo /home/${SSH_USER}/.cargo
|
||||
COPY --from=rust:1.48.0 --chown=${SSH_USER} /usr/local/rustup /home/${SSH_USER}/.rustup
|
||||
COPY --from=rust:1.48.0-alpine --chown=${SSH_USER} /usr/local/cargo /home/${SSH_USER}/.cargo
|
||||
COPY --from=rust:1.48.0-alpine --chown=${SSH_USER} /usr/local/rustup /home/${SSH_USER}/.rustup
|
||||
ENV CARGO_HOME=/home/${SSH_USER}/.cargo
|
||||
ENV RUSTUP_HOME=/home/${SSH_USER}/.rustup
|
||||
ENV PATH=/home/${SSH_USER}/.cargo/bin:$PATH
|
||||
# Node
|
||||
COPY --from=node:15.5.0 /usr/local/bin/node /usr/local/bin/node
|
||||
COPY --from=node:15.5.0-alpine /usr/local/bin/node /usr/local/bin/node
|
||||
# TODO: Add yarbn/npm/npx/yarnpkg??
|
||||
|
||||
# Create .dotfiles
|
||||
|
|
4
Makefile
4
Makefile
|
@ -24,9 +24,7 @@ template:
|
|||
@go run ./main.go template workspace-action > .github/workflows/workspace.yaml
|
||||
|
||||
pull:
|
||||
@docker pull ghcr.io/mentos1386/workspace-ubuntu:edge
|
||||
@docker pull ghcr.io/mentos1386/starship:0.47.0
|
||||
@docker pull ghcr.io/mentos1386/kubectl:1.20.0
|
||||
@docker pull ghcr.io/mentos1386/workspace:edge
|
||||
|
||||
run:
|
||||
@docker run -it --rm --workdir /home/tine --user tine ghcr.io/mentos1386/workspace:edge zsh
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM rust:1 as build
|
||||
FROM rust:1-alpine as build
|
||||
|
||||
WORKDIR /usr/src/starship
|
||||
|
||||
|
|
Loading…
Reference in a new issue