mirror of
https://github.com/NexVeridian/ark-invest-api-rust-data.git
synced 2025-09-02 09:59:12 +00:00
0.2.0
This commit is contained in:
parent
7e12fc1e65
commit
be08848b0d
6 changed files with 162 additions and 72 deletions
|
@ -2,7 +2,7 @@ FROM mcr.microsoft.com/devcontainers/rust:bullseye
|
|||
|
||||
RUN rustup target add x86_64-unknown-linux-musl && \
|
||||
apt-get update && \
|
||||
apt install -y build-essential xz-utils musl-tools musl-dev gcc-multilib && \
|
||||
apt install -y build-essential xz-utils musl-tools musl-dev gcc-multilib pkg-config libssl-dev && \
|
||||
rustup update
|
||||
|
||||
RUN LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+') && \
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
"--name",
|
||||
"devcontainer-${containerWorkspaceFolderBasename}"
|
||||
],
|
||||
"initializeCommand": "docker rm -f devcontainer-${containerWorkspaceFolderBasename} || true",
|
||||
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
|
||||
"mounts": [
|
||||
{
|
||||
|
@ -29,8 +28,8 @@
|
|||
"ghcr.io/devcontainers/features/git:1": {}
|
||||
// "ghcr.io/devcontainers/features/nix:1": {
|
||||
// "packages": [
|
||||
// "btop"
|
||||
// // "lazygit"
|
||||
// "btop",
|
||||
// "lazygit"
|
||||
// ]
|
||||
// }
|
||||
},
|
||||
|
@ -41,7 +40,8 @@
|
|||
// },
|
||||
"postAttachCommand": {
|
||||
"AddGitSafeDir": "git config --global --add safe.directory /workspaces/${containerWorkspaceFolderBasename}",
|
||||
"clippy": "cargo clippy"
|
||||
"cargo_update": "cargo update",
|
||||
"clippy": "cargo clippy --fix --allow-dirty"
|
||||
},
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue