Add base image
This commit is contained in:
13
templates/build_cuddle_image.Dockerfile
Normal file
13
templates/build_cuddle_image.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM rust:1.62.1-slim-bullseye
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
RUN apt-get install -y build-essential curl git
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
RUN git clone https://git.front.kjuulh.io/kjuulh/cuddle.git
|
||||
|
||||
WORKDIR /app/cuddle/
|
||||
|
||||
RUN cargo build -p cuddle_cli --release
|
1
templates/build_cuddle_image.Dockerfile.dockerignore
Normal file
1
templates/build_cuddle_image.Dockerfile.dockerignore
Normal file
@@ -0,0 +1 @@
|
||||
.cuddle/
|
Reference in New Issue
Block a user