From 1a933dcf91ba2b173d09b2eebebcdee02040ab1c Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Wed, 13 Dec 2023 20:06:39 -0500 Subject: [PATCH] Update dockerfile and .dockerignore --- .dockerignore | 3 ++- Dockerfile | 8 ++------ 2 files changed, 4 insertions(+), 7 deletions(-) mode change 120000 => 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore deleted file mode 120000 index 3e4e48b..0000000 --- a/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -.gitignore \ No newline at end of file diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..73bbc30 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +/target +Dockerfile \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index eb5aeab..97e7f73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM rust:alpine3.14 as builder +FROM rust:alpine3.18 as builder # update packages RUN apk update -RUN apk add build-base pkgconfig +RUN apk add build-base pkgconfig libressl-dev # Install rust toolchains RUN rustup toolchain install stable @@ -23,10 +23,6 @@ RUN cargo build --release # Runner stage. FROM alpine -# update packages -RUN apk update -RUN apk add zfs - ARG UNAME=port_updater ARG UID=1000 ARG GID=1000