You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker for Mac doesn't yet support this (on stable, at least). Once it does, our Dockerfile should probably look something like:
FROM linkerd/rustup-nightly:v1 as nightly-build
RUN rustup update nightly
RUN mkdir -p /linkerd-tcp
COPY . /linkerd-tcp
WORKDIR /linkerd-tcp
RUN cargo build --release
FROM debian:jessie-slim
COPY --from=nightly-build /linkerd-tcp/target/x86_64-unknown-linux-gnu/release/linkerd-tcp /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/linkerd-tcp"]
Previously, we needed a script to build a minimal docker image without build
dependency.
Docker's new multi-stage builds allow us to specify all of this logic in the
Dockerfile, eliminating the need for the _dockerize_ script.
Fixes#43
I think we can replace our dockerize script with a multi-stage build. This will enable us to use an autobuild dockerhub repo.
The text was updated successfully, but these errors were encountered: