summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-04-24 18:20:02 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-04-24 18:20:30 +0900
commite352b6887849cb6c3c8ae1d98ed357f94273e90a (patch)
tree663345c4382bcd9e4a1e1a2ebfb47e29cdbd0ad3
parent207deeadba2721435a21e0f68c61e522eedef26c (diff)
Update Dockerfile to use Ubuntu 24.04
As we require Go 1.20 or above.
-rw-r--r--Dockerfile4
-rw-r--r--Makefile8
2 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index aba5f22f..e31f804d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
-FROM --platform=linux/amd64 ubuntu:22.04
+FROM ubuntu:24.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 gem install --no-document -v 5.22.3 minitest
RUN echo '. /usr/share/bash-completion/completions/git' >> ~/.bashrc
RUN echo '. ~/.bashrc' >> ~/.bash_profile
diff --git a/Makefile b/Makefile
index 44b010c5..c38f86de 100644
--- a/Makefile
+++ b/Makefile
@@ -174,12 +174,12 @@ bin/fzf: target/$(BINARY) | bin
cp -f target/$(BINARY) bin/fzf
docker:
- docker build -t fzf-arch .
- docker run -it fzf-arch tmux
+ docker build -t fzf-ubuntu .
+ docker run -it fzf-ubuntu tmux
docker-test:
- docker build -t fzf-arch .
- docker run -it fzf-arch
+ docker build -t fzf-ubuntu .
+ docker run -it fzf-ubuntu
update:
$(GO) get -u