Commit e79c4116 authored by Furkan Mustafa's avatar Furkan Mustafa

Add tar-split to Dockerfile

parent ef409283
FROM golang:1.11.6-stretch AS tar-split-builder
RUN go get -d github.com/vbatts/tar-split/cmd/tar-split
RUN go build -o /tar-split -a -ldflags '-extldflags "-static"' /go/src/github.com/vbatts/tar-split/cmd/tar-split
FROM python:3.6-jessie
LABEL maintainer="info@beiran.io"
RUN apt-get update && apt-get -y install \
......@@ -25,6 +29,8 @@ RUN pip install -r /opt/beiran/r-k8s.txt
# ADD plugins/beiran_package_npm/requirements.txt /opt/beiran/r-npm.txt
# RUN pip install -r /opt/beiran/r-npm.txt
COPY --from=tar-split-builder /tar-split /opt/beiran/plugins/beiran_package_docker/tar-split
ADD [ "beiran", "/opt/beiran/beiran" ]
ADD [ "plugins", "/opt/beiran/plugins" ]
......
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