Builder image for workflows
/ build (push) Successful in 4m37s
Details
/ build (push) Successful in 4m37s
Details
This commit is contained in:
parent
b9053ad881
commit
b10acaf4a6
|
@ -0,0 +1,7 @@
|
||||||
|
FROM rust:latest
|
||||||
|
RUN cargo install cross
|
||||||
|
|
||||||
|
# This is necessary for cross to be able to access /var/run/docker.sock
|
||||||
|
COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && bash nodesource_setup.sh && rm -f nodesource_setup.sh && apt -y install nodejs && apt clean
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# You need to have already logged in:
|
||||||
|
#
|
||||||
|
# docker login git.syndicate-lang.org
|
||||||
|
#
|
||||||
|
# Use a token with read-only access to user scope, this seems to be sufficient (!)
|
||||||
|
|
||||||
|
set -e
|
||||||
|
docker build -t git.syndicate-lang.org/syndicate-lang/rust-builder .
|
||||||
|
docker push git.syndicate-lang.org/syndicate-lang/rust-builder
|
Loading…
Reference in New Issue