update Dockerfile to use local dotfiles in Ubuntu
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -1,5 +1,14 @@
|
||||
FROM alpine:edge
|
||||
RUN apk --no-cache add git curl
|
||||
RUN sh -c "$(curl -fsLS git.io/chezmoi)" -- init --apply candrewlee14
|
||||
FROM ubuntu:latest
|
||||
RUN apt-get update && \
|
||||
apt-get install -y software-properties-common && \
|
||||
add-apt-repository ppa:fish-shell/release-3 && \
|
||||
apt update && \
|
||||
apt install -y git curl fish sudo && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
RUN sh -c "$(curl -fsLS get.chezmoi.io)"
|
||||
COPY . /root/.local/share/chezmoi/
|
||||
|
||||
RUN chezmoi init --apply
|
||||
|
||||
ENV SHELL /usr/bin/fish
|
||||
CMD ["fish"]
|
||||
|
||||
Reference in New Issue
Block a user