From 7c371c182ad02b707cba178b0b01bec72af1cb12 Mon Sep 17 00:00:00 2001 From: "Aode (lion)" Date: Sat, 28 Aug 2021 23:15:29 -0500 Subject: [PATCH] Version v0.3.0-alpha.14 --- docker/prod/Dockerfile.arm32v7 | 2 +- docker/prod/Dockerfile.arm64v8 | 2 +- docker/prod/docker-compose.yml | 2 +- src/processor.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/prod/Dockerfile.arm32v7 b/docker/prod/Dockerfile.arm32v7 index b1dfcb1..f9682f7 100644 --- a/docker/prod/Dockerfile.arm32v7 +++ b/docker/prod/Dockerfile.arm32v7 @@ -63,7 +63,7 @@ RUN \ $TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY # production environment -FROM amd64/alpine:3.14 +FROM arm32v7/alpine:3.14 ARG UID=991 ARG GID=991 diff --git a/docker/prod/Dockerfile.arm64v8 b/docker/prod/Dockerfile.arm64v8 index 2bbf2ef..910b70f 100644 --- a/docker/prod/Dockerfile.arm64v8 +++ b/docker/prod/Dockerfile.arm64v8 @@ -63,7 +63,7 @@ RUN \ $TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY # production environment -FROM amd64/alpine:3.14 +FROM arm64v8/alpine:3.14 ARG UID=991 ARG GID=991 diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 4a22b0d..5d95a69 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: pictrs: - image: asonix/pictrs:v0.3.0-alpha.13-r1 + image: asonix/pictrs:v0.3.0-alpha.14 ports: - "127.0.0.1:8080:8080" restart: always diff --git a/src/processor.rs b/src/processor.rs index eba9d80..f276670 100644 --- a/src/processor.rs +++ b/src/processor.rs @@ -128,7 +128,7 @@ impl Processor for Resize { fn command(&self, mut args: Vec) -> Vec { args.extend([ "-filter".to_string(), - "-Lanczos2".to_string(), + "Lanczos2".to_string(), "-resize".to_string(), format!("{}x{}>", self.0, self.0), ]);