This commit is contained in:
Sivert V. Sæther 2021-05-18 03:52:55 +02:00
parent cd90026a53
commit f96572981d
2 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
build_rust() { build_rust() {
docker build --pull -t registry.sivert.pw/build/rust rust docker build --pull -t registry.sivert.pw/build/rust:latest rust
} }
push_rust() { push_rust() {
docker push registry.sivert.pw/build/rust docker push registry.sivert.pw/build/rust:latest
} }
build_and_push_rust() { build_and_push_rust() {

View File

@ -1,7 +1,7 @@
FROM archlinux:base-devel FROM archlinux:base-devel
RUN pacman -Suyy --noconfirm\ RUN pacman -Suyy --noconfirm\
rustup podman rustup docker
RUN rustup toolchain install stable RUN rustup toolchain install stable
CMD [ "bash" ] CMD [ "bash" ]