8 lines
367 B
Docker
8 lines
367 B
Docker
FROM mcr.microsoft.com/devcontainers/rust:1-bookworm
|
|
|
|
# [Optional] Install additional packages
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get -y install --no-install-recommends libssl-dev pkg-config
|
|
|
|
# Ensure the cargo target directory is owned by the vscode user
|
|
RUN mkdir -p /workspaces/target && chown vscode:vscode /workspaces/target |