get periphery docker build working

This commit is contained in:
beckerinj
2022-11-24 13:30:08 -08:00
parent 8d7b0625b0
commit 192363bb64
2 changed files with 7 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ RUN cargo build -p periphery --release
FROM debian:stable-slim
# install git and docker
COPY ./install_periphery_dependencies.sh ./
RUN sh ./install_periphery_dependencies.sh
COPY --from=builder /periphery/target/release/periphery /usr/local/bin/periphery

View File

@@ -0,0 +1,5 @@
apt-get update
apt-get install ca-certificates curl gnupg lsb-release -y
curl -fsSL https://get.docker.com | sh
apt-get update
apt-get install git -y