diff options
author | Valery Piashchynski <[email protected]> | 2020-11-05 16:59:51 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-05 16:59:51 +0300 |
commit | 2bc1be2aee88453197d33a19abb963cc52d88ef8 (patch) | |
tree | 622294012654d14df60d9f025b96ff039f45953c /Dockerfile | |
parent | 3759df801089973edb1116df69f310aaa2d703dc (diff) |
Uncomment in CI composer analyze
Remove PHP 7.2, 7.3
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..09cf7933 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,27 @@ +FROM golang:latest as builder + +COPY . /src + +WORKDIR /src + +RUN set -x \ + && apt-get update -y \ + && apt-get install -y bash git \ + && go version \ + && bash ./build.sh \ + && test -f ./.rr.yaml + +FROM alpine:latest + +LABEL \ + org.opencontainers.image.title="roadrunner" \ + org.opencontainers.image.description="High-performance PHP application server, load-balancer and process manager" \ + org.opencontainers.image.url="https://github.com/spiral/roadrunner" \ + org.opencontainers.image.source="https://github.com/spiral/roadrunner" \ + org.opencontainers.image.vendor="SpiralScout" \ + org.opencontainers.image.licenses="MIT" + +COPY --from=builder /src/rr /usr/bin/rr +COPY --from=builder /src/.rr.yaml /etc/rr.yaml + +ENTRYPOINT ["/usr/bin/rr"]
\ No newline at end of file |