You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
290 B

3 years ago
  1. FROM golang:1.14
  2. COPY . /app/
  3. WORKDIR /app
  4. RUN go build
  5. FROM bitnami/minideb:stretch
  6. RUN apt-get update && \
  7. apt-get install lizardfs-client -y && \
  8. apt-get clean && \
  9. rm -rf /var/lib/apt/lists/*
  10. COPY --from=0 /app/lizardfs-volume-plugin /usr/bin/
  11. ENTRYPOINT ["lizardfs-volume-plugin"]