Skip to content

Commit

Permalink
bestie: switch to floorbuilder
Browse files Browse the repository at this point in the history
Scribe-With: arista.com/horseland/alpine#3a2468658ed5b3d1ecb71f56ab1cb0a2d75fd759
Change-Id: I6e3e11ace84706cbed177fbfd9e407276450584e
  • Loading branch information
mstory21 committed Feb 5, 2020
1 parent 7c7bd50 commit 660562a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions barney.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
image-manifests:
build-floor:
imageunits:
- floor: arista.com/horseland/alpine%floor-builder
sh: |
set -e
install -D /etc/apk/repositories $DESTDIR/etc/apk/repositories
apk add --allow-untrusted --root=$DESTDIR --no-cache --initdb alpine-base make gcc libcap-dev musl-dev
mkdir -p $DESTDIR/src $DESTDIR/dest
images:
- arista.com/horseland/alpine%image
- arista.com/horseland/scdoc%static
export:
imageunits:
- floor: arista.com/horseland/bestie%build-floor
sh: make install
static:
imageunits:
- floor: arista.com/horseland/alpine%image
- floor: arista.com/horseland/bestie%build-floor
sh: make install CFLAGS="-static -O2"

0 comments on commit 660562a

Please sign in to comment.