Skip to content

Instantly share code, notes, and snippets.

View russellcardullo's full-sized avatar

Russell Cardullo russellcardullo

View GitHub Profile
@russellcardullo
russellcardullo / Dockerfile
Last active December 3, 2020 22:08
# Minimal reproducer for dd-trace-py Issue #1414
FROM python:3.8.6
WORKDIR /code
COPY requirements.txt requirements.txt
RUN python3 -m pip install -r requirements.txt
COPY wsgi.py /code
CMD ["python3", "-m", "gunicorn.app.wsgiapp", "wsgi:app", \

This reproduces moby/buildkit#1039

To reproduce:

  1. vagrant up
  2. vagrant ssh
  3. cd /tmp
  4. /vagrant/build-all-servers.sh
2018/08/09 11:28:47 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/08/09 11:28:47 [INFO] Go runtime version: go1.10.1
2018/08/09 11:28:47 [INFO] CLI args: []string{"/usr/local/bin/terraform", "destroy", "-auto-approve"}
2018/08/09 11:28:47 [DEBUG] Attempting to open CLI config file: /Users/russell/.terraformrc
2018/08/09 11:28:47 Loading CLI configuration from /Users/russell/.terraformrc
2018/08/09 11:28:47 [INFO] CLI command args: []string{"destroy", "-auto-approve"}
2018/08/09 11:28:47 [INFO] command: empty terraform config, returning nil
2018/08/09 11:28:47 [DEBUG] command: no data state file found for backend config
2018/08/09 11:28:47 [DEBUG] New state was assigned lineage "87a9ef5a-7744-945f-11cc-9ddc19efc8d4"
2018/08/09 11:28:47 [INFO] command: backend initialized: <nil>

Keybase proof

I hereby claim:

  • I am russellcardullo on github.
  • I am russellcardullo (https://keybase.io/russellcardullo) on keybase.
  • I have a public key ASDlYARQyB4mFHHiMFg-b3P0Ufav0WZhEDlGO4_kVeObbQo

To claim this, I am signing this object:

/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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
*
require 'formula'
class ScalaDocs < Formula
homepage 'http://www.scala-lang.org/'
url 'http://www.scala-lang.org/files/archive/scala-docs-2.9.3.zip'
sha1 '633a31ca2eb87ce5b31b4f963bdfd1d4157282ad'
end
class ScalaCompletion < Formula
homepage 'http://www.scala-lang.org/'
@russellcardullo
russellcardullo / Vagrantfile
Last active December 15, 2015 00:19
Setting ssh username for the vagrant-aws plugin shows how provisioning hangs using Virtualbox provider
Vagrant.configure("2") do |config|
config.vm.define :testbox do |testbox|
testbox.vm.box = 'opscode-ubuntu-12.04'
testbox.ssh.username = 'ubuntu'
testbox.vm.provider :aws do |aws|
aws.access_key_id = 'MY_ACCESS_KEY'
aws.secret_access_key = 'MY_SECRET_ACCESS_KEY'
aws.keypair_name = 'MY_KEYPAIR_NAME'