-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 819 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ghcr.io/xmtp/rust:latest
RUN sudo apt update && sudo apt install -y pkg-config openssl
WORKDIR /workspaces/libxmtp
COPY --chown=xmtp:xmtp rust-toolchain .
ENV RUSTUP_PERMIT_COPY_RENAME "yes"
RUN rustup update
RUN curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="rustdev" \
org.label-schema.description="Rust Development Container" \
org.label-schema.url="https://github.com/xmtp/libxmtp" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="git@github.com:xmtp/libxmtp.git" \
org.label-schema.vendor="xmtp" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0" \
org.opencontainers.image.description="Rust Development Container"