diff --git a/Dockerfile b/Dockerfile index 308016f0..aba5f22f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -FROM --platform=linux/amd64 archlinux -RUN pacman -Sy && pacman --noconfirm -S awk git tmux zsh fish ruby procps go make gcc +FROM --platform=linux/amd64 ubuntu:22.04 +RUN apt-get update -y && apt install -y git make golang zsh fish ruby tmux RUN gem install --no-document -v 5.14.2 minitest RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc RUN echo '. ~/.bashrc' >> ~/.bash_profile @@ -8,4 +8,5 @@ RUN echo '. ~/.bashrc' >> ~/.bash_profile RUN rm -f /etc/bash.bashrc COPY . /fzf RUN cd /fzf && make install && ./install --all +ENV LANG C.UTF-8 CMD tmux new 'set -o pipefail; ruby /fzf/test/test_go.rb | tee out && touch ok' && cat out && [ -e ok ]