Fix new build system for experimental Docker image.
This commit is contained in:
parent
4c3cf87f62
commit
f346251719
1 changed files with 2 additions and 1 deletions
|
@ -25,9 +25,10 @@ RUN mkdir -p /usr/local/bin \
|
||||||
WORKDIR /go/src/github.com/containous/traefik
|
WORKDIR /go/src/github.com/containous/traefik
|
||||||
COPY . /go/src/github.com/containous/traefik
|
COPY . /go/src/github.com/containous/traefik
|
||||||
|
|
||||||
|
RUN rm -rf /go/src/github.com/containous/traefik/static/
|
||||||
COPY --from=webui /src/static/ /go/src/github.com/containous/traefik/static/
|
COPY --from=webui /src/static/ /go/src/github.com/containous/traefik/static/
|
||||||
|
|
||||||
RUN ./script/make.sh binary
|
RUN ./script/make.sh generate binary
|
||||||
|
|
||||||
## IMAGE
|
## IMAGE
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue