build and test pipelines #2
|
@ -12,7 +12,7 @@ ARG APP_NAME=mastodon-image-uploader-bot
|
||||||
FROM rust:${RUST_VERSION}-slim-bullseye AS build
|
FROM rust:${RUST_VERSION}-slim-bullseye AS build
|
||||||
ARG APP_NAME
|
ARG APP_NAME
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apt update && apt install pkg-config -y
|
||||||
# Build the application.
|
# Build the application.
|
||||||
# Leverage a cache mount to /usr/local/cargo/registry/
|
# Leverage a cache mount to /usr/local/cargo/registry/
|
||||||
# for downloaded dependencies and a cache mount to /app/target/ for
|
# for downloaded dependencies and a cache mount to /app/target/ for
|
||||||
|
|
Loading…
Reference in New Issue