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

FROM golang:1.14
COPY . /app/
WORKDIR /app
RUN go build
FROM bitnami/minideb:stretch
RUN apt-get update && \
apt-get install lizardfs-client -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=0 /app/lizardfs-volume-plugin /usr/bin/
ENTRYPOINT ["lizardfs-volume-plugin"]