Skip to content

Instantly share code, notes, and snippets.

View manoelhc's full-sized avatar
🔨
Building and breaking stuff

Manoel Carvalho manoelhc

🔨
Building and breaking stuff
View GitHub Profile
docker run -it -u $(id -u):$(id -g) -w $(pwd) -v $(pwd):$(pwd):rw mac-bug sh scripts/script.sh
+ set -e
+ git clone -b 6.2.0 https://github.com/clicon/cligen.git
Cloning into 'cligen'...
remote: Enumerating objects: 3997, done.
remote: Counting objects: 100% (600/600), done.
remote: Compressing objects: 100% (172/172), done.
remote: Total 3997 (delta 472), reused 535 (delta 425), pack-reused 3397
Receiving objects: 100% (3997/3997), 6.47 MiB | 5.49 MiB/s, done.
Resolving deltas: 100% (3078/3078), done.
#!/bin/sh
set -x
set -e
git clone -b 6.2.0 https://github.com/clicon/cligen.git
git -C cligen archive --prefix=cligen-6.2.0/ --format=tar \
-o $(pwd)/cligen/build-root/cligen-latest.tar HEAD
xz -v --threads=0 $(pwd)/cligen/build-root/cligen-latest.tar
tar -C /tmp -xJf cligen/build-root/cligen-latest.tar.xz
FROM ubuntu:latest
RUN apt update && apt install git tar xz-utils -y

Keybase proof

I hereby claim:

  • I am manoelhc on github.
  • I am manoelhc (https://keybase.io/manoelhc) on keybase.
  • I have a public key ASBTPxVQorw2vI1Y9JGebLHuQkrKbtmj0ExklwPUKM1IlQo

To claim this, I am signing this object: