-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update shipit to 0.4.0 close #1 - Install gomplate to allow build shipit config from template - Update gitlab ci pipeline - Add build.sh script for building image while develop
- Loading branch information
1 parent
2a515e5
commit c0d5ac8
Showing
3 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
FROM alpine:3.10 | ||
RUN apk add --no-cache \ | ||
FROM alpine:3.11 | ||
|
||
LABEL maintainer="Constantine Karnaukhov <genteelknight@gmail.com>" | ||
|
||
ENV SHIPIT_VERSION="0.4.0" | ||
|
||
RUN set -x \ | ||
&& apk add --no-cache \ | ||
bash \ | ||
openssh-client \ | ||
libcurl \ | ||
curl \ | ||
ncurses | ||
RUN SHPT=/usr/local/bin/shipit && \ | ||
curl -o $SHPT https://raw.githubusercontent.com/sapegin/shipit/master/bin/shipit && \ | ||
chmod +x $SHPT && \ | ||
unset SHPT | ||
ncurses \ | ||
gomplate \ | ||
&& curl -o /usr/local/bin/shipit https://raw.githubusercontent.com/sapegin/shipit/${SHIPIT_VERSION}/bin/shipit \ | ||
&& chmod +x /usr/local/bin/shipit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env bash | ||
docker build -t spaceonfire/shipit:edge . |