build: install vim to get ex on Alpine Linux

This commit is contained in:
Vincent Bernat
2022-07-16 21:25:41 +02:00
parent 13e8c65bfb
commit a80064c3b4
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ run tests:
- name: clickhouse/clickhouse-server:22.3
alias: clickhouse
script:
- time apk add --no-cache git make gcc musl-dev protoc shared-mime-info npm curl
- time apk add --no-cache git make gcc musl-dev protoc shared-mime-info npm curl vim
- export GOMODCACHE=$PWD/.go-cache
- npm config --user set cache $PWD/.npm-cache
- time go mod download

View File

@@ -1,5 +1,5 @@
FROM golang:1.18-alpine AS build
RUN apk add --no-cache git make gcc musl-dev protoc shared-mime-info npm curl
RUN apk add --no-cache git make gcc musl-dev protoc shared-mime-info npm curl vim
WORKDIR /app
COPY go.mod ./
COPY go.sum ./