forked from github-starred/komodo
get periphery docker build working
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
5
install_periphery_dependencies.sh
Normal file
5
install_periphery_dependencies.sh
Normal 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
|
||||
Reference in New Issue
Block a user