refactor: use a base image when running the build process in CI
This commit is contained in:
1 parent
af35de509b
commit
f5c45b99ad
4 files changed
+11
-5
No files matched your search
@@ -0,0 +1,6 @@
|
|||||||
|
FROM ubuntu:14.04
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y install gcc git build-essential wget ruby-dev ruby1.9.1 lintian rpm help2man man-db
|
||||||
|
RUN command -v fpm > /dev/null || sudo gem install fpm --no-ri --no-rdoc
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:14.04
|
FROM dokku/build-base:0.0.1
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:14.04
|
FROM dokku/build-base:0.0.1
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ RUN PLUGIN_MAKE_TARGET=${PLUGIN_MAKE_TARGET} \
|
|||||||
SKIP_GO_CLEAN=true \
|
SKIP_GO_CLEAN=true \
|
||||||
make version copyfiles \
|
make version copyfiles \
|
||||||
&& rm -rf plugins/common/*.go plugins/common/glide* plugins/common/vendor/ \
|
&& rm -rf plugins/common/*.go plugins/common/glide* plugins/common/vendor/ \
|
||||||
&& make deb-herokuish deb-dokku deb-plugn deb-sshcommand deb-sigil deb-dokku-update \
|
&& make deb-dokku deb-plugn deb-sshcommand deb-sigil \
|
||||||
rpm-herokuish rpm-dokku rpm-plugn rpm-sshcommand rpm-sigil rpm-dokku-update
|
rpm-dokku rpm-plugn rpm-sshcommand rpm-sigil
|
||||||
|
|
||||||
RUN ls -lha /tmp/
|
RUN ls -lha /tmp/
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:14.04
|
FROM dokku/build-base:0.0.1
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user