File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -210,13 +210,9 @@ rtcv_scraper_client \
210210Currently we don't have pre build binaries so you'll need to compile the binary yourself
211211
212212``` Dockerfile
213- # If your final docker image is based on the golang image you can simply run this command
214- RUN go install github.com/script-development/rtcv_scraper_client
215-
216- # If your container runtime and build images are separated you can do something like this
217- RUN git clone https://github.com/script-development/rtcv_scraper_client /root/rtcv_scraper_client
218- WORKDIR /root/rtcv_scraper_client
219- RUN go build
220- # then in your runtime:
221- COPY --from=build /root/rtcv_scraper_client/rtcv_scraper_client /bin/rtcv_scraper_client
213+ FROM golang:alpine AS obtain-rtcv-client
214+ RUN go install github.com/script-development/rtcv_scraper_client@latest
215+
216+ FROM denoland/deno:alpine AS runtime
217+ COPY --from=obtain-rtcv-client /go/bin/rtcv_scraper_client /bin/rtcv_scraper_client
222218```
You can’t perform that action at this time.
0 commit comments