Skip to content

Instantly share code, notes, and snippets.

View proppy's full-sized avatar

Johan Euphrosine proppy

View GitHub Profile
@proppy
proppy / zerotoasic_project1_1.ipynb
Last active May 6, 2022 14:56
zerotoasic_project1_1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@proppy
proppy / README.md
Last active December 6, 2022 09:32
apk2layer

apk2layer

apk2layer flattens an alpine linux package(s) and its dependencies into a standalone tarball.

Usage

apk2layer [-mirror] PKGNAME... > layer.tar
@proppy
proppy / pod.go
Last active August 29, 2015 14:21 — forked from crosbymichael/pod.go
package main
import (
"encoding/json"
"fmt"
"log"
"os"
"syscall"
"github.com/docker/libcontainer"
@proppy
proppy / README.md
Last active October 8, 2015 00:39
podlet

podlet pod de lait

"pot-de-lait"

podlet is a tiny CLI tool & daemon to launch kubernetes pods on a bare docker host.

This is a proof of concept, not affiliated to the main kubernetes project, and it only supports a subset of the v1beta3 PodSpec.

Usage

@proppy
proppy / README.md
Last active August 1, 2016 13:32
isoc: yet another "standard" container format

isoc

isoc is yet another "standard" container format.

It brings together the best bits of Docker Image Specification 1.0 and App Container Specification 0.3.0+git into a comprehensive yet portable container archive format, at the cost of a "few" duplicated bytes.

Layout

An isoc image is a appc image embedded in a docker image, but also a docker image embedded in a appc image. Some people might describe it as an iso-contained container format.

@proppy
proppy / go2docker.go
Last active November 30, 2021 17:51
go2docker: build golang docker image without docker :)
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@proppy
proppy / README.md
Last active August 29, 2015 14:13
try docker machine GCP integration

Assuming you installed docker machine and a docker build with identity support locally, and a Google Cloud Platform Project.

PROJECT=my-gcp-project
ZONE=us-central1-f
machine create --driver google --google-project ${PROJECT} --google-zone ${ZONE} \
    gcp-machine
export DOCKER_HOST=$(machine url)
export DOCKER_AUTH=identity
docker version
@proppy
proppy / Dockerfile
Last active August 29, 2015 14:13
io.js base image Dockerfile
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
@proppy
proppy / README.md
Last active August 29, 2015 14:09
minici: a docker CI that fits in a gist

minici

minici is a docker continuous integration that fits in a gist.

TODOs

  • snapshot and reuse disk
  • archive logs on gs
  • plug with gh hooks
  • deploy to appengine
@proppy
proppy / Dockerfile
Last active August 29, 2015 14:07
fig2kube
FROM google/python:2.7
ADD requirements.txt /code/requirements.txt
RUN pip install -r /code/requirements.txt
ADD . /code
WORKDIR /code
ENTRYPOINT ["python", "app.py"]