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