Add rust
This commit is contained in:
parent
dbb0c34f73
commit
b3804b481d
11
.woodpecker/rust.yml
Normal file
11
.woodpecker/rust.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
secrets: [docker_username, docker_password]
|
||||||
|
settings:
|
||||||
|
repo: seriousbug/rust
|
||||||
|
dockerfile: rsync/Dockerfile
|
||||||
|
platforms: linux/amd64
|
||||||
|
tag: latest
|
||||||
|
when:
|
||||||
|
path: rust/*
|
10
rust/Dockerfile
Normal file
10
rust/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.authors="kaan@bgenc.net"
|
||||||
|
|
||||||
|
RUN apk add --no-cache rustup \
|
||||||
|
&& rustup-init -y
|
||||||
|
|
||||||
|
ENV PATH=/root/.cargo/bin:$PATH
|
||||||
|
|
||||||
|
RUN rustup component add llvm-tools-preview
|
Loading…
Reference in a new issue