~boringcactus/crowbar-playground

b70b9ebc302c0806ba48897eea4d3fc6b5200028 — Melody Horn 3 years ago 3424a5c
provide QBE for assembly target
1 files changed, 10 insertions(+), 1 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +10 -1
@@ 15,7 15,16 @@ ADD hello-world.cro /src/compiler-explorer/examples/crowbar/default.cro
WORKDIR /src/compiler-explorer
RUN make dist

RUN pip install crowbar-reference-compiler==0.0.2
WORKDIR /src
RUN git clone git://c9x.me/qbe.git
WORKDIR /src/qbe
RUN make
RUN make install
RUN pip install crowbar-reference-compiler==0.0.4

WORKDIR /src/compiler-explorer
RUN mkdir lib/storage/data
RUN chmod a+rwx lib/storage/data
USER nobody
EXPOSE 10240
CMD node -r esm ./app.js --language Crowbar