diff --git a/Dockerfile b/Dockerfile index e2e2e1d..ccd37dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM golangci/golangci-lint:latest +FROM golangci/golangci-lint:latest-alpine RUN \ - apt-get update && \ - apt-get install -y vim + apk update && \ + apk add vim ENV GOLINTUI_OPEN_COMMAND=vim diff --git a/README.md b/README.md index d72b3c4..bf0d2c4 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ go get github.com/nakabonne/golintui **With Docker** ```bash -docker run --rm -i -t -v $(pwd):/app -w /app nakabonne/golintui:latest /bin/bash +docker run --rm -i -t -v $(pwd):/app -w /app nakabonne/golintui:latest golintui ``` ## Usage