From 5ae641fda09d5cf7cd4026c0c329e83eb0a15790 Mon Sep 17 00:00:00 2001 From: techial Date: Fri, 26 Aug 2022 22:25:59 +0800 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f8858e..a675116 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ COPY . . # run release build RUN cargo build --release -# create final container using slim version of debian -FROM debian:buster-slim +# create final container using rust +FROM rust:latest # microbin will be in /usr/local/bin/microbin/ WORKDIR /usr/local/bin From a593ea01607e86049ec89f5a2458492e21e943ee Mon Sep 17 00:00:00 2001 From: techial Date: Sun, 28 Aug 2022 16:27:38 +0800 Subject: [PATCH 2/2] Update runing image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a675116..be4b25c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,8 @@ COPY . . # run release build RUN cargo build --release -# create final container using rust -FROM rust:latest +# https://hub.docker.com/r/bitnami/minideb +FROM bitnami/minideb:latest # microbin will be in /usr/local/bin/microbin/ WORKDIR /usr/local/bin