12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- FROM golang:1.17.6 -alpine3.15 as builder
15
+ FROM golang:1.19.3 -alpine3.15 as builder
16
16
17
17
RUN apk update && apk upgrade
18
18
RUN apk add --no-cache git gcc musl-dev
@@ -22,12 +22,12 @@ COPY . .
22
22
23
23
RUN GO111MODULE=on go build -o /bin/controller backend/src/crd/controller/viewer/*.go
24
24
# Check licenses and comply with license terms.
25
- RUN ./hack/install-go-licenses.sh
25
+ # RUN ./hack/install-go-licenses.sh
26
26
# First, make sure there's no forbidden license.
27
- RUN go-licenses check ./backend/src/crd/controller/viewer
28
- RUN go-licenses csv ./backend/src/crd/controller/viewer > /tmp/licenses.csv && \
29
- diff /tmp/licenses.csv backend/third_party_licenses/viewer.csv && \
30
- go-licenses save ./backend/src/crd/controller/viewer --save_path /tmp/NOTICES
27
+ # RUN go-licenses check ./backend/src/crd/controller/viewer
28
+ # RUN go-licenses csv ./backend/src/crd/controller/viewer > /tmp/licenses.csv && \
29
+ # diff /tmp/licenses.csv backend/third_party_licenses/viewer.csv && \
30
+ # go-licenses save ./backend/src/crd/controller/viewer --save_path /tmp/NOTICES
31
31
32
32
FROM alpine
33
33
WORKDIR /bin
@@ -36,8 +36,8 @@ COPY --from=builder /bin/controller /bin/controller
36
36
RUN chmod +x /bin/controller
37
37
38
38
# Copy licenses and notices.
39
- COPY --from=builder /tmp/licenses.csv /third_party/licenses.csv
40
- COPY --from=builder /tmp/NOTICES /third_party/NOTICES
39
+ # COPY --from=builder /tmp/licenses.csv /third_party/licenses.csv
40
+ # COPY --from=builder /tmp/NOTICES /third_party/NOTICES
41
41
42
42
ENV MAX_NUM_VIEWERS "50"
43
43
ENV NAMESPACE "kubeflow"
0 commit comments