52 lines
1.2 KiB
Text
52 lines
1.2 KiB
Text
|
FROM d:base
|
||
|
|
||
|
ENV TERM=xterm-256color
|
||
|
ENV COLORTERM=truecolor
|
||
|
|
||
|
ENV LANG=en_US.UTF-8
|
||
|
ENV LC_ALL=en_US.UTF-8
|
||
|
ENV PATH=/opt/flutter/bin:$PATH
|
||
|
|
||
|
# Update
|
||
|
RUN sudo pacman -Syu --noconfirm
|
||
|
RUN yay -Syu --noconfirm
|
||
|
|
||
|
# Update and install base packages
|
||
|
RUN sudo pacman -Syu --noconfirm && \
|
||
|
sudo pacman -S --noconfirm \
|
||
|
git openssh sudo base-devel curl wget unzip gnupg \
|
||
|
go python nodejs npm php ruby jekyll \
|
||
|
gtk3 clang cmake gcc make ninja pkgconf \
|
||
|
docker docker-compose \
|
||
|
terraform \
|
||
|
kubectl \
|
||
|
helm \
|
||
|
k9s
|
||
|
|
||
|
RUN yay -Sy --noconfirm \
|
||
|
opentofu
|
||
|
|
||
|
# Install Flutter manually (not in pacman)
|
||
|
# GPT Full flutter support command ehh
|
||
|
RUN sudo pacman -S --noconfirm \
|
||
|
clang \
|
||
|
ninja \
|
||
|
cmake \
|
||
|
gtk3 \
|
||
|
pkgconf \
|
||
|
libepoxy \
|
||
|
libappindicator-gtk3 \
|
||
|
curl \
|
||
|
unzip
|
||
|
|
||
|
RUN sudo mkdir /opt/flutter && sudo chown -R x:x /opt/flutter && \
|
||
|
git clone https://github.com/flutter/flutter.git /opt/flutter && \
|
||
|
/opt/flutter/bin/flutter doctor
|
||
|
|
||
|
# Install Argo CD
|
||
|
RUN sudo curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64 && \
|
||
|
sudo chmod +x /usr/local/bin/argocd
|
||
|
|
||
|
|
||
|
ENTRYPOINT ["/entrypoint.sh"]
|