Skip to content

Instantly share code, notes, and snippets.

Avatar
📕
Follow me on twtxt.net/user/prologic

James Mills prologic

📕
Follow me on twtxt.net/user/prologic
View GitHub Profile
@prologic
prologic / build.log
Created Jan 17, 2020
$ docker build --no-cache --build-arg DISTRO=opensuse --build-arg DISTRO_VERSION=15.1 -t netdata/netdata:opensuse_15.1 .
View build.log
Sending build context to Docker daemon 53.8MB
Step 1/30 : ARG ARCH=amd64
Step 2/30 : ARG DISTRO=debian
Step 3/30 : ARG DISTRO_VERSION=buster
Step 4/30 : ARG VERSION=0.1
Step 5/30 : FROM netdata/builder:${DISTRO}_${DISTRO_VERSION} AS build
---> 9522f44e840a
Step 6/30 : ARG ARCH
---> Running in eac382bbfa22
@prologic
prologic / build.log
Created Jan 17, 2020
$ docker build --no-cache -t netdata/builder:opensuse_15.1 -f package-builders/Dockerfile.opensuse15.1 .
View build.log
Sending build context to Docker daemon 451.6kB
Step 1/7 : FROM opensuse:15.1
---> fef5ad254f63
Step 2/7 : ARG VERSION=0.1
---> Running in 20856432fd0d
Removing intermediate container 20856432fd0d
---> 4bf1adda8a2d
Step 3/7 : ENV VERSION=$VERSION
---> Running in 2b4872e0be02
@prologic
prologic / test.log
Created Jan 16, 2020
$ dki -t --rm netdata/netdata:fedora_30 | tee test.log
View test.log
Waiting for netdata on localhost:19999 ... OK
"v1.19.0-317-ga637ae4a"
@prologic
prologic / build.log
Created Jan 16, 2020
$ time docker build --build-arg DISTRO=fedora --build-arg DISTRO_VERSION=30 -t netdata/netdata:fedora_30 . | tee build.log
View build.log
Sending build context to Docker daemon 53.77MB
Step 1/30 : ARG ARCH=amd64
Step 2/30 : ARG DISTRO=debian
Step 3/30 : ARG DISTRO_VERSION=buster
Step 4/30 : ARG VERSION=0
Step 5/30 : FROM netdata/builder:${DISTRO}_${DISTRO_VERSION} AS build
---> 4a3fb33bb433
Step 6/30 : ARG ARCH
---> Using cache
@prologic
prologic / build.log
Created Jan 16, 2020
docker build -f package-builders/Dockerfile.fedora30 -t netdata/builder:fedora_30 .
View build.log
prologic@Jamess-iMac
Thu Jan 16 12:23:53
~/NetData/helper-images
(fedora-builder-images) 0
$ docker build -f package-builders/Dockerfile.fedora30 -t netdata/builder:fedora_30 .
Sending build context to Docker daemon 326.7kB
Step 1/8 : FROM fedora:30
30: Pulling from library/fedora
b0fe058ffda2: Pull complete
Digest: sha256:a31809d5e9d991a291605e932077aaf5f2beff64dee85b34d911228196af406e
@prologic
prologic / build.log
Created Jan 16, 2020
docker build -f package-builders/Dockerfile.ubuntu1804 -t netdata/builder:ubuntu_1804
View build.log
prologic@Jamess-iMac
Thu Jan 16 12:10:38
~/NetData/helper-images
(ubuntu-builder-images) 0
$ docker build -f package-builders/Dockerfile.ubuntu1804 -t netdata/builder:ubuntu_1804 .
Sending build context to Docker daemon 304.1kB
Step 1/12 : FROM ubuntu:18.04
18.04: Pulling from library/ubuntu
2746a4a261c9: Pull complete
4c1d20cdee96: Pull complete
@prologic
prologic / build.log
Created Jan 15, 2020
$ docker build -t netdata/builder:debian_buster -f package-builders/Dockerfile.debian_buster .
View build.log
prologic@Jamess-iMac
Wed Jan 15 10:21:17
~/NetData/helper-images
(debian-builder-images) 0
$ docker build -t netdata/builder:debian_buster -f package-builders/Dockerfile.debian_buster .
Sending build context to Docker daemon 269.8kB
Step 1/12 : FROM debian:buster
buster: Pulling from library/debian
8f0fdd3eaac0: Pull complete
Digest: sha256:f19be6b8095d6ea46f5345e2651eec4e5ee9e84fc83f3bc3b73587197853dc9e
@prologic
prologic / post.go
Created Dec 18, 2019
A quick 'n dirty MIcroPub Go (Golang) client for Micro.blog (https://micro.blog)
View post.go
package main
import (
"flag"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
@prologic
prologic / tokenize.go
Last active Nov 21, 2019
Split a string into tokens with a given separator supporting escape sequences
View tokenize.go
package main
import (
"errors"
"fmt"
)
func tokenizeString(s string, sep, escape rune) (tokens []string, err error) {
var runes []rune
inEscape := false
@prologic
prologic / build.log
Created Apr 29, 2019
muesli/beehive build 2019-04-29
View build.log
james@Jamess-MacBook-Pro
Mon Apr 29 14:55:34
~/Contributions
130
$ git clone muesli/beehive
Cloning into 'beehive'...
remote: Enumerating objects: 154, done.
remote: Counting objects: 100% (154/154), done.
remote: Compressing objects: 100% (96/96), done.
remote: Total 5218 (delta 77), reused 115 (delta 54), pack-reused 5064