-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
geloman
committed
Nov 24, 2024
1 parent
9f81864
commit 267d3d1
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
FROM ubuntu:latest AS base | ||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
sudo git fontconfig tar wget rustup gcc unzip curl \ | ||
zsh tmux neovim fzf git-delta eza bat ripgrep fd-find neofetch \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/* | ||
FROM alpine:latest AS base | ||
RUN apk add zsh unzip tar | ||
RUN useradd --create-home --groups sudo --shell /usr/bin/zsh geloman \ | ||
&& echo "geloman ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/geloman \ | ||
&& chmod 0440 /etc/sudoers.d/geloman | ||
|
||
FROM base AS final | ||
USER geloman | ||
WORKDIR /home/geloman | ||
COPY . .dotfiles | ||
RUN ./.dotfiles/setup.sh | ||
ENTRYPOINT ["zsh"] | ||
# FROM base AS setup | ||
# USER geloman | ||
# WORKDIR /home/geloman | ||
# COPY . . | ||
# RUN ./install.sh | ||
|
||
# FROM setup AS final | ||
# USER geloman | ||
# WORKDIR /home/geloman | ||
# ENTRYPOINT ["zsh"] |