mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-20 03:38:15 +08:00
add make and build tools to image
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
# call from ocelot repo root with
|
||||
# docker build --build-arg OCELOT_COVERALLS_TOKEN=$OCELOT_COVERALLS_TOKEN -f ./docker/Dockerfile.build .
|
||||
FROM mijitt0m/ocelot-build:0.0.1
|
||||
|
||||
ARG OCELOT_COVERALLS_TOKEN
|
||||
|
||||
ENV OCELOT_COVERALLS_TOKEN=$OCELOT_COVERALLS_TOKEN
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY ./. .
|
||||
|
||||
RUN chmod u+x build.sh
|
||||
|
||||
RUN make build
|
||||
# call from ocelot repo root with
|
||||
# docker build --build-arg OCELOT_COVERALLS_TOKEN=$OCELOT_COVERALLS_TOKEN -f ./docker/Dockerfile.build .
|
||||
FROM mijitt0m/ocelot-build:0.0.2
|
||||
|
||||
ARG OCELOT_COVERALLS_TOKEN
|
||||
|
||||
ENV OCELOT_COVERALLS_TOKEN=$OCELOT_COVERALLS_TOKEN
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
COPY ./. .
|
||||
|
||||
RUN chmod u+x build.sh
|
||||
|
||||
RUN make build
|
||||
|
Reference in New Issue
Block a user