build testground and copy to run image
This commit is contained in:
parent
202cdda358
commit
c9dbf908b5
@ -1,7 +1,16 @@
|
||||
FROM golang:1.14.4-buster as tg-build
|
||||
|
||||
ARG TESTGROUND_REF="oni"
|
||||
WORKDIR /usr/src
|
||||
RUN git clone https://github.com/testground/testground.git
|
||||
RUN cd testground && git checkout $TESTGROUND_REF && go build .
|
||||
|
||||
FROM python:3.8-buster
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY --from=tg-build /usr/src/testground/testground /usr/bin/testground
|
||||
|
||||
RUN mkdir /composer && chmod 777 /composer
|
||||
RUN mkdir /testground && chmod 777 /testground
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user