Add building and pushing of all images
This commit is contained in:
parent
6365930a9e
commit
b169fd1820
|
@ -11,13 +11,17 @@ COPY compile-r7rs.scm .
|
|||
COPY snow/ snow/
|
||||
COPY libs/ libs/
|
||||
RUN ls -1
|
||||
RUN make && make install PREFIX=/usr/local-other
|
||||
RUN make PREFIX=/usr/local-other && make install PREFIX=/usr/local-other
|
||||
|
||||
FROM schemers/${COMPILE_R7RS}
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
make \
|
||||
libfcgi-dev \
|
||||
sqlite3 \
|
||||
libsqlite3-dev \
|
||||
libffi8 \
|
||||
libffi-dev \
|
||||
libgc1 \
|
||||
libssl3 \
|
||||
libuv1
|
||||
|
|
6
Makefile
6
Makefile
|
@ -6,15 +6,17 @@ build:
|
|||
build-docker-images:
|
||||
for implementation in $(shell sash -L ./snow -L . compile-r7rs.scm --list-schemes); \
|
||||
do \
|
||||
echo "Building $${implementation}"; \
|
||||
docker build . --build-arg COMPILE_R7RS=$${implementation} --tag=retropikzel1/compile-r7rs:$${implementation}; \
|
||||
done
|
||||
|
||||
#for implementation in $(shell sash -L ./snow -L . compile-r7rs.scm --list-schemes);
|
||||
|
||||
push-docker-images:
|
||||
for implementation in chibi chicken sagittarius; \
|
||||
for implementation in $(shell sash -L ./snow -L . compile-r7rs.scm --list-schemes); \
|
||||
do \
|
||||
docker push compile-r7rs:$${implementation}; \
|
||||
echo "Pushing $${implementation}"; \
|
||||
docker push retropikzel1/compile-r7rs:$${implementation}; \
|
||||
done
|
||||
|
||||
snow:
|
||||
|
|
Loading…
Reference in New Issue