Compare commits

...

2 Commits

Author SHA1 Message Date
Atomist Bot
74f22d2a71 Pin Docker image debian:buster-slim
debian:buster-slim
->
debian:buster-slim@sha256:557ee531b81ce380d012d83b7bb56211572e5d6088d3e21a3caef7d7ed7f718b

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
2022-10-07 01:36:43 +00:00
Atomist Bot
23e668101e Pin Docker image rust:buster
rust:buster
->
rust:buster@sha256:f5da153862af6a25fcf49dde3cb19b5b513f78bc00e317eb64e898a66af2881d

 [atomist:generated]
 [atomist-skill:atomist/docker-base-image-policy]

Signed-off-by: Atomist Bot <bot@atomist.com>
2022-10-07 01:36:43 +00:00

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.4
FROM rust:buster AS base
FROM rust:buster@sha256:f5da153862af6a25fcf49dde3cb19b5b513f78bc00e317eb64e898a66af2881d AS base
ENV USER=root
ENV ROCKET_ADDRESS=0.0.0.0
@ -38,7 +38,7 @@ FROM base AS builder
RUN cargo build --release --offline
FROM debian:buster-slim
FROM debian:buster-slim@sha256:557ee531b81ce380d012d83b7bb56211572e5d6088d3e21a3caef7d7ed7f718b
ENV ROCKET_ENV=production