redlib: revert to pr-509 branch
This commit is contained in:
+1
-16
@@ -2,22 +2,7 @@
|
|||||||
services:
|
services:
|
||||||
redlib:
|
redlib:
|
||||||
# image: quay.io/redlib/redlib:latest
|
# image: quay.io/redlib/redlib:latest
|
||||||
image: redlib:pr-509
|
image: registry.kucharczyk.xyz/redlib:pr-509
|
||||||
build:
|
|
||||||
context: https://github.com/chowder/redlib.git#feature/tls-openssl
|
|
||||||
dockerfile_inline: |
|
|
||||||
FROM rust:1.75-alpine AS builder
|
|
||||||
RUN apk add --no-cache musl-dev openssl-dev g++ make
|
|
||||||
WORKDIR /usr/src/redlib
|
|
||||||
COPY . .
|
|
||||||
RUN cargo build --release
|
|
||||||
|
|
||||||
FROM alpine:3.19
|
|
||||||
RUN apk add --no-cache ca-certificates openssl libgcc
|
|
||||||
COPY --from=builder /usr/src/redlib/target/release/redlib /usr/local/bin/redlib
|
|
||||||
USER nobody
|
|
||||||
EXPOSE 8080
|
|
||||||
CMD ["redlib"]
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: "redlib"
|
container_name: "redlib"
|
||||||
user: nobody
|
user: nobody
|
||||||
|
|||||||
Reference in New Issue
Block a user