This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. git clone https://github.com/cloudfoundry/stacks.git | |
Main actions are to change docker image to ppc64le one and remove not-supported library links/update path to libs | |
2. change line in Makefile | |
from : docker run -w /stacks -v `pwd`:/stacks ubuntu:trusty ./bin/make_tarball.sh cflinuxfs2 | |
to: docker run -w /stacks -v `pwd`:/stacks ppc64le/ubuntu:trusty ./bin/make_tarball.sh cflinuxfs2 | |
3. Replace some lines in cflinuxfs2/Dockerfile | |
from: FROM ubuntu:trusty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following line helps maintain current documentation at http://docs.cloudfoundry.org. | |
# code_snippet cf-minimal-aws start | |
--- | |
name: cf | |
director_uuid: REPLACE_WITH_DIRECTOR_ID | |
releases: | |
- {name: cf, version: latest} | |
networks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: concourse | |
# replace with `bosh status --uuid` | |
director_uuid: REPLACE_ME | |
web_static_ip: &web_static_ip REPLACE_ME | |
releases: | |
- name: concourse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
net_id: &net_id REPLACE | |
availability_zone: &availability_zone REPLACE | |
properties: &cloud_props | |
availability_zone: *availability_zone | |
api_key: REPLACE | |
auth_url: REPLACE | |
default_key_name: REPLACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key: REPLACE_ME | |
secret: REPLACE_ME | |
bucket: REPLACE_ME | |
bucket_versioned: REPLACE_ME | |
#access to docker registry | |
username: REPLACE_ME | |
password: REPLACE_ME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
- name: time-resource | |
serial: true | |
public: true | |
plan: | |
- aggregate: | |
- get: base-image | |
params: {save: true} | |
trigger: false | |
- get: golang-image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Setup Docker | |
1.1 Download Docker binaries | |
cd /usr/local/bin | |
sudo wget https://master.dockerproject.org/linux/ppc64le/dockerd https://master.dockerproject.org/linux/ppc64le/docker-proxy https://master.dockerproject.org/linux/ppc64le/docker-runc https://master.dockerproject.org/linux/ppc64le/docker https://master.dockerproject.org/linux/ppc64le/docker-containerd https://master.dockerproject.org/linux/ppc64le/docker-containerd-shim https://master.dockerproject.org/linux/ppc64le/docker-containerd-ctr | |
sudo chmod +x * | |
1.2 create file /etc/init/docker.conf with: | |
description "Docker daemon" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e -x | |
# golang 1.7.3 | |
apt-get install -y wget tar gcc | |
# download and install go-1.7-ppc64le.tar.gz from unicamp.br | |
wget ftp://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/go-1.7-ppc64le.tar.gz | |
rm -rf /usr/local/go /usr/local/bin/go | |
tar xvfz go-1.7-ppc64le.tar.gz -C /usr/local | |
ln -s /usr/local/go/bin/go /usr/local/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e -x | |
# jq 1.4 | |
init=$PWD | |
apt-get install -y git wget build-essential dh-autoreconf flex bison | |
wget https://github.com/stedolan/jq/archive/jq-1.4.tar.gz | |
tar zxvf jq-1.4.tar.gz | |
cd jq-jq-1.4 | |
autoreconf -i | |
./configure --disable-maintainer-mode | |
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e -x | |
# fly 2.5.1 | |
init=$PWD | |
apt-get install -y wget tar git | |
# download and install go-1.7-ppc64le.tar.gz from unicamp.br | |
wget ftp://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/go-1.7-ppc64le.tar.gz | |
rm -rf /usr/local/go /usr/local/bin/go | |
tar xvfz go-1.7-ppc64le.tar.gz -C /usr/local | |
ln -s /usr/local/go/bin/go /usr/local/bin |
OlderNewer