mirror of
https://github.com/danderson/netboot.git
synced 2025-10-17 18:41:26 +02:00
The way docker hub and quay.io work, you can't easily pass a custom context to a Dockerfile. So, effectively, if you want multiple dockerfiles per repository, you need to re-check out the whole repository by hand, without help from the environment. This sucks a little bit because it doesn't guarantee that the build happens at the trigger revision ID, but for my purposes of "just have a recent build up", it's sufficient.
8 lines
193 B
Docker
8 lines
193 B
Docker
FROM alpine:edge
|
|
MAINTAINER David Anderson <dave@natulte.net>
|
|
|
|
COPY . /tmp/stuff
|
|
RUN cd /tmp/stuff; [ -f build.sh ] && ./build.sh || ./dockerfiles/pixiecore/build.sh
|
|
|
|
ENTRYPOINT ["/pixiecore"]
|