Code Monkey home page Code Monkey logo

devcontainer's Introduction

Hi, I'm Ian.

πŸ™‹πŸ»β€(♂️ Pronouns: https://pronoun.is/he.)

By trade, I’m a RF (Radio Frequency) Systems Design engineer based in Phoenix, with 10+ years of experience in RF Systems: User Terminals, Satellite Systems, RFIC (RF Integrated Circuit) design, and IOT (In-Orbit-Test).

My website is at https://iancleary.me, which is where I post articles and snippets, and is where you can find out more about me.

Stay safe and drink water! πŸ‘‹

devcontainer's People

Contributors

dependabot[bot] avatar iancleary avatar

Stargazers

 avatar

Watchers

 avatar  avatar

devcontainer's Issues

Build native ARM image

FYI: x86_64 containers on ARM Macs run inside qemu-x86_64, which does not emulate seccomp and returns EINVAL instead.

https://github.com/DeterminateSystems/nix-installer/issues/324

Flatpak users

/home/iancleary/.config/vscode-docker/start.sh

#!/bin/sh
exec flatpak-spawn --host docker "$@"

Add CDPATH

export CDPATH="..:/workspace:/home/vscode"

https://www.oreilly.com/library/view/bash-cookbook/0596526784/ch16s05.html

Use Cases

If the host system can run Nix, just use that package, and install flake support, such that MacOS could use the Determinate Systems install; so, could Linux. If I’m using an Alpine Container, then first ask why I am. The only answer should be if I am deploying an application or I’m on a host that doesn’t have support for the tools that I want in a simpler quicker way. The determinism is a good thing, but the tradeoff needs to be there.

Containers are a good way to encapsulate tools and create a consistent environment. However, they have some overhead on non-linux systems (MacOS and Windows, for example).

The primary use case here is on Windows, when the maintenance of installing the versions of packages in the flake.nix file is cumbersome for myself or for others on the team. Consider the situation, then the return on advancing this further. Using this on MacOS is not going to be worth it, for example. On an amd64 Windows box might be.

Add just (justfile support)

https://github.com/casey/just

rust: ## Install rust
rust:
	sudo apt install build-essential
	curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
	source $$HOME/.cargo/env

cargo: ## Install rust crates
cargo:
	cargo install just
	cargo install sd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.