mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +00:00
14 lines
311 B
Docker
14 lines
311 B
Docker
|
# docker build --rm -f docker/Dockerfile.server -t woodpeckerci/woodpecker-server .
|
||
|
FROM golang:1.16-alpine as golang_image
|
||
|
FROM node:16-alpine
|
||
|
|
||
|
RUN apk add make gcc musl-dev
|
||
|
|
||
|
# Build packages.
|
||
|
COPY --from=golang_image /usr/local/go /usr/local/go
|
||
|
ENV PATH=$PATH:/usr/local/go/bin
|
||
|
|
||
|
WORKDIR /build
|
||
|
|
||
|
CMD [ "sh" ]
|