Qualify images with docker.io
This commit is contained in:
parent
0e555ce539
commit
21158e0bf7
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
########################## BUILD IMAGE ##########################
|
########################## BUILD IMAGE ##########################
|
||||||
# Rust build image to build Autarco Scraper's statically compiled binary
|
# Rust build image to build Autarco Scraper's statically compiled binary
|
||||||
FROM rust:1.45 as builder
|
FROM docker.io/rust:1.45 as builder
|
||||||
|
|
||||||
# Build the dependencies first
|
# Build the dependencies first
|
||||||
RUN USER=root cargo new --bin autarco-scraper
|
RUN USER=root cargo new --bin autarco-scraper
|
||||||
|
@ -22,7 +22,7 @@ RUN cargo build --release
|
||||||
|
|
||||||
########################## RUNTIME IMAGE ##########################
|
########################## RUNTIME IMAGE ##########################
|
||||||
# Create new stage with a minimal image for the actual runtime image/container
|
# Create new stage with a minimal image for the actual runtime image/container
|
||||||
FROM debian:buster-slim
|
FROM docker.io/debian:buster-slim
|
||||||
|
|
||||||
# Install cURL, Firefox and the Gecko Driver
|
# Install cURL, Firefox and the Gecko Driver
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
|
Reference in New Issue