diff options
| author | Jonathan Amsterdam <jba@google.com> | 2021-12-18 08:35:59 -0500 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2021-12-20 21:50:27 +0000 |
| commit | aee1866dfc68fb7d6412b8f7e4c16eecc2a4dc30 (patch) | |
| tree | a8c574be13736483ff47d510b3dfd2df417d2b44 /devtools/docker | |
| parent | b29d14345b68bd5a6d9082ab80c7e6467dcf3520 (diff) | |
| download | go-x-pkgsite-aee1866dfc68fb7d6412b8f7e4c16eecc2a4dc30.tar.xz | |
devtools/docker/Dockerfile.frontend: remove
This dockerfile isn't used and could cause confusion.
Change-Id: I12c5cb37b9c64439b6a4fedaf882d09caceb5c7d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/373194
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'devtools/docker')
| -rw-r--r-- | devtools/docker/Dockerfile.frontend | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/devtools/docker/Dockerfile.frontend b/devtools/docker/Dockerfile.frontend deleted file mode 100644 index a35f73da..00000000 --- a/devtools/docker/Dockerfile.frontend +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2021 The Go Authors. All rights reserved. -# Use of this source code is governed by a BSD-style -# license that can be found in the LICENSE file. - -# This Dockerfile expects the build context to be the public repo root. - -################################################################ -FROM golang:1.16.7 AS builder -# If you change the Go version above, change the FROM line below as well. - -# Set the working directory outside $GOPATH to ensure module mode is enabled. -WORKDIR /src - -# Copy go.mod and go.sum into the container. -# If they don't change, which is the common case, then docker can -# cache this COPY and the subsequent RUN. -COPY go.mod go.sum all.bash / - -# Download the dependencies. -RUN go mod download - -# Copy the pkgsite repo from local machine into Docker client’s current working -# directory, so that we can use it to build the frontend. -# See .dockerignore at the repo root for excluded files. -COPY . /src - -# Build the frontend. -RUN go build -mod=readonly ./cmd/frontend - -################################################################ -FROM golang:1.16.7 - -WORKDIR app - -COPY --from=builder src/frontend frontend -COPY static static -COPY third_party third_party |
