mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
ent/circleci: drop goimports installation
Reviewed By: a8m Differential Revision: D17761242 fbshipit-source-id: 7ebf67b59eed722ac329b5ab6a152140a013c64c
This commit is contained in:
committed by
Facebook Github Bot
parent
82c70a6d35
commit
d581e01bb6
@@ -2,18 +2,12 @@
|
||||
# This source code is licensed under the Apache 2.0 license found
|
||||
# in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
# Multi stage application builder
|
||||
FROM golang:1.12.9-alpine
|
||||
# Application base
|
||||
FROM golang:1.13
|
||||
|
||||
# Install tools required to build the project
|
||||
RUN apk add --no-cache git gcc musl-dev
|
||||
|
||||
# Use public go modules proxy
|
||||
ENV GOPROXY https://proxy.golang.org
|
||||
|
||||
# Install goimports for entc.
|
||||
RUN go get -u golang.org/x/tools/cmd/goimports
|
||||
|
||||
# Copy mod files and install dependencies.
|
||||
WORKDIR /ent
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
Reference in New Issue
Block a user