Rust build image with alpine and formal updates
This commit is contained in:
parent
801826e5c9
commit
da03dbca37
6
LICENSE
6
LICENSE
@ -208,8 +208,8 @@ If you develop a new program, and you want it to be of the greatest possible use
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
Dockerfiles developed and maintained by Sivert V. Sæther.
|
||||
Copyright (C) 2021 Sivert V. Sæther <dockerfiles@sivert.pw>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||
|
||||
@ -221,7 +221,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
Dockerfiles Copyright (C) 2021 Sivert V. Sæther <dockerfiles@sivert.pw>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
|
||||
|
||||
|
@ -2,3 +2,12 @@
|
||||
|
||||
Only Dockerfiles for build images so far.
|
||||
Will most certanly put some other useful Dockerfiles here later.
|
||||
|
||||
## NOTE
|
||||
To make things easy for myself I've added a cheecky siverten/ folder
|
||||
for stuff I've got on [DockerHub](https://hub.docker.com/).
|
||||
Most of them are automagically built with scripts on my servers so
|
||||
this is absolutely fantastick!
|
||||
I would also love for anyone to contriblute, but for the time being
|
||||
this is hosted on my very own, pretty obscure git server.
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
FROM archlinux:base-devel
|
||||
FROM alpine:edge
|
||||
|
||||
RUN pacman -Suyy --noconfirm\
|
||||
rustup docker
|
||||
RUN rustup toolchain install stable
|
||||
RUN apk update&&apk upgrade&&apk add\
|
||||
rustup
|
||||
RUN rustup-init -y
|
||||
|
||||
CMD [ "bash" ]
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
CMD [ "ash" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user