I hereby claim:
- I am pedromfedricci on github.
- I am pedromfedricci (https://keybase.io/pedromfedricci) on keybase.
- I have a public key ASBHDIRtOpF1asQOu4xycoPYjymSbaY0KzSjuPa-pqgFTwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
ARG RUST_IMAGE=rust:1.52.1 | |
FROM $RUST_IMAGE AS install-sys-pkgs | |
RUN apt-get update \ | |
&& \ | |
apt-get install -y --no-install-recommends \ | |
# Z shell is a customizable Unix shell. | |
zsh \ | |
# Install node & npm. |
ARG RUST_IMAGE=rust:latest | |
FROM $RUST_IMAGE AS install-system-packages | |
RUN apt-get update -y && apt-get install -y --no-install-recommends \ | |
# Programming tool for memory debugging and profilling. | |
valgrind \ | |
&& \ | |
apt-get remove -y --auto-remove && rm -rf /var/lib/apt/lists/* |
ARG RUST_BASE_IMAGE=rust:slim | |
FROM ${RUST_BASE_IMAGE} AS base | |
ARG SQLX_CLI_VERSION=0.5.5 | |
RUN apt-get update \ | |
&& \ | |
apt-get install -y --no-install-recommends \ | |
libssl-dev \ |
#!/usr/bin/env nu | |
module nix-profile { | |
# Return user's `.nix-profile` path, if it exists, `$nothing` otherwise. | |
def nix-profile [] { | |
if ("HOME" in (env).name && "USER" in (env).name) { | |
$"($env.HOME)/.nix-profile" | |
} | |
} |