mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Version v0.3.0-alpha.14
This commit is contained in:
parent
84637ee78f
commit
7c371c182a
4 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ RUN \
|
||||||
$TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY
|
$TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY
|
||||||
|
|
||||||
# production environment
|
# production environment
|
||||||
FROM amd64/alpine:3.14
|
FROM arm32v7/alpine:3.14
|
||||||
|
|
||||||
ARG UID=991
|
ARG UID=991
|
||||||
ARG GID=991
|
ARG GID=991
|
||||||
|
|
|
@ -63,7 +63,7 @@ RUN \
|
||||||
$TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY
|
$TOOL-strip target/$TARGET/$BUILD_MODE/$BINARY
|
||||||
|
|
||||||
# production environment
|
# production environment
|
||||||
FROM amd64/alpine:3.14
|
FROM arm64v8/alpine:3.14
|
||||||
|
|
||||||
ARG UID=991
|
ARG UID=991
|
||||||
ARG GID=991
|
ARG GID=991
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: '3.3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pictrs:
|
pictrs:
|
||||||
image: asonix/pictrs:v0.3.0-alpha.13-r1
|
image: asonix/pictrs:v0.3.0-alpha.14
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8080:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -128,7 +128,7 @@ impl Processor for Resize {
|
||||||
fn command(&self, mut args: Vec<String>) -> Vec<String> {
|
fn command(&self, mut args: Vec<String>) -> Vec<String> {
|
||||||
args.extend([
|
args.extend([
|
||||||
"-filter".to_string(),
|
"-filter".to_string(),
|
||||||
"-Lanczos2".to_string(),
|
"Lanczos2".to_string(),
|
||||||
"-resize".to_string(),
|
"-resize".to_string(),
|
||||||
format!("{}x{}>", self.0, self.0),
|
format!("{}x{}>", self.0, self.0),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue