add first build
This commit is contained in:
parent
4954f4d2f7
commit
8909b60721
4
scripts/build_cuddle_image.sh
Normal file → Executable file
4
scripts/build_cuddle_image.sh
Normal file → Executable file
@ -2,4 +2,6 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DOCKER_BUILDKIT=1 docker build "$TMP/build_cuddle_image.Dockerfile"
|
tag="$REGISTRY/$SERVICE:${COMMIT_SHA:0:10}"
|
||||||
|
|
||||||
|
DOCKER_BUILDKIT=1 docker build -t "$tag" -f "$TMP/build_cuddle_image.Dockerfile" .
|
||||||
|
@ -2,12 +2,9 @@ FROM rust:1.62.1-slim-bullseye
|
|||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
|
|
||||||
RUN apt-get install -y build-essential curl git
|
RUN apt-get install libssl-dev
|
||||||
|
RUN apt-get install -y -q build-essential curl git pkg-config
|
||||||
WORKDIR /app/
|
|
||||||
|
|
||||||
RUN git clone https://git.front.kjuulh.io/kjuulh/cuddle.git
|
|
||||||
|
|
||||||
WORKDIR /app/cuddle/
|
WORKDIR /app/cuddle/
|
||||||
|
|
||||||
RUN cargo build -p cuddle_cli --release
|
RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli
|
||||||
|
Loading…
Reference in New Issue
Block a user