mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
use base image
This commit is contained in:
1 parent
752fd73a64
commit
d483d3cc2c
1 file changed
+3
-15
+3
-15
@@ -1,20 +1,7 @@
|
||||
# Unsure if I want to create minimal images yet that run under Alpine Linux.
|
||||
# I have instructions for that here: https://hub.docker.com/r/echelon/testcontainer/dockerfile
|
||||
FROM ubuntu:xenial as build
|
||||
# Custom base image
|
||||
FROM ghcr.io/storytold/docker-base-images-rust-ssl:latest as build
|
||||
WORKDIR /tmp
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
build-essential \
|
||||
curl \
|
||||
libssl-dev \
|
||||
libssl1.0.0 \
|
||||
pkg-config \
|
||||
unzip \
|
||||
wget
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
|
||||
| sh -s -- --default-toolchain stable -y
|
||||
|
||||
COPY Cargo.lock .
|
||||
COPY Cargo.toml .
|
||||
COPY src/ ./src
|
||||
@@ -29,6 +16,7 @@ RUN LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} $HOME/.cargo/bin/cargo build --r
|
||||
FROM ubuntu:xenial
|
||||
WORKDIR /
|
||||
|
||||
# See: https://github.com/opencontainers/image-spec/blob/master/annotations.md
|
||||
LABEL org.opencontainers.image.authors='bt@brand.io, echelon@gmail.com'
|
||||
LABEL org.opencontainers.image.url='https://github.com/storytold/twitch-ingestion-client'
|
||||
LABEL org.opencontainers.image.documentation='https://github.com/storytold/twitch-ingestion-client'
|
||||
|
||||
Reference in new issue
Block a user