Commit 9de3e5ad authored by Svetomir Smiljkovic's avatar Svetomir Smiljkovic

Change docker base image to alpine

parent 1f13e396
FROM golang AS builder FROM golang:1.13 AS build
ADD . /src
WORKDIR /src WORKDIR /src
COPY . ./
RUN make binary RUN make binary
FROM debian FROM alpine:3.11
RUN apt update && apt install -y \
ca-certificates \ RUN apk update && \
&& rm -rf /var/lib/apt/lists/* apk add --no-cache ca-certificates
COPY --from=builder /src/dist/bee /usr/local/bin/bee
RUN chmod +x /usr/local/bin/bee COPY --from=build /src/dist/bee /usr/local/bin/bee
ENTRYPOINT ["bee"] ENTRYPOINT ["bee"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment