21 lines
685 B
Plaintext
21 lines
685 B
Plaintext
|
# Base Rust image
|
||
|
# Written by Wyatt J. Miller, 2024
|
||
|
# This image is opinionated, but you're welcome to customize as much as you like
|
||
|
|
||
|
# Get my custom base image from scm
|
||
|
FROM scm.wyattjmiller.com/wymiller/base_container:latest
|
||
|
|
||
|
# Label it right, ya know?
|
||
|
ENV NAME=custom_base_rust_image VERSION=1.1
|
||
|
LABEL com.github.containers.toolbox="true" \
|
||
|
com.redhat.component="$NAME" \
|
||
|
name="$NAME" \
|
||
|
version="$VERSION" \
|
||
|
usage="Wyatt's base Rust image" \
|
||
|
summary="Wyatt's custom base Rust image" \
|
||
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||
|
vendor="Miller Web Solutions"
|
||
|
|
||
|
# Get latest Rust
|
||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|