mirror of
https://github.com/eth-act/ere.git
synced 2026-04-25 03:00:10 -04:00
Introduce CompilerKind and refactor ere-dockerized (#221)
This commit is contained in:
@@ -9,7 +9,7 @@ WORKDIR /ere
|
||||
|
||||
RUN cargo build --release --package ere-compiler --bin ere-compiler --features zisk \
|
||||
&& mkdir bin && mv target/release/ere-compiler bin/ere-compiler \
|
||||
&& cargo clean && rm -rf $CARGO_HOME/registry/src $CARGO_HOME/registry/cache
|
||||
&& cargo clean && rm -rf $CARGO_HOME/registry/
|
||||
|
||||
FROM $RUNTIME_IMAGE AS runtime_stage
|
||||
|
||||
@@ -28,6 +28,12 @@ ENV RUSTUP_HOME=/usr/local/rustup \
|
||||
CARGO_HOME=/usr/local/cargo \
|
||||
PATH=/usr/local/cargo/bin:$PATH
|
||||
|
||||
# Copy TamaGo
|
||||
COPY --from=build_stage /root/.tamago /root/.tamago
|
||||
|
||||
# Add TamaGo to path
|
||||
ENV PATH=/root/.tamago/bin:$PATH
|
||||
|
||||
# Copy ZisK SDK
|
||||
COPY --from=build_stage /root/.zisk/toolchains /root/.zisk/toolchains
|
||||
|
||||
|
||||
Reference in New Issue
Block a user