Skip to content

Commit

Permalink
[ci-scripts][docker-test-arm] refs skycoin#75 Installing the dependen…
Browse files Browse the repository at this point in the history
…cies of `skyapi ` in the image generated by `docker` in `Circle CI`
  • Loading branch information
Maykel Arias Torres committed Jun 27, 2019
1 parent db1024f commit 9d40db1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion ci-scripts/docker_install_debian.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/usr/bin/env bash

apt-get update
apt-get install gcc-6 g++-6 curl wget software-properties-common -y
apt-get install gcc-6 g++-6 curl wget cmake libcurl3-gnutls -y

sudo apt-get remove curl -y
(cd deps && wget http://curl.haxx.se/download/curl-7.58.0.tar.gz && tar -xvf curl-7.58.0.tar.gz && cd curl-7.58.0/ && ./configure && make && sudo make install)
(cd deps && git clone https://github.com/uncrustify/uncrustify.git && cd uncrustify && mkdir build && cd build && cmake .. && make && sudo make install)

wget -c https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz
tar -xzf check-0.12.0.tar.gz
Expand Down
6 changes: 5 additions & 1 deletion ci-scripts/docker_install_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/usr/bin/env bash

apt-get update
apt-get install gcc-6 g++-6 curl wget software-properties-common -y
apt-get install gcc-6 g++-6 curl wget cmake libcurl3-gnutls -y

sudo apt-get remove curl -y
(cd deps && wget http://curl.haxx.se/download/curl-7.58.0.tar.gz && tar -xvf curl-7.58.0.tar.gz && cd curl-7.58.0/ && ./configure && make && sudo make install)
(cd deps && git clone https://github.com/uncrustify/uncrustify.git && cd uncrustify && mkdir build && cd build && cmake .. && make && sudo make install)

wget -c https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz
tar -xzf check-0.12.0.tar.gz
Expand Down
1 change: 0 additions & 1 deletion docker/images/test-arm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ RUN [ "cross-build-start" ]
RUN ls -oa $GOPATH/src/github.com/skycoin/libskycoin/
RUN sh $GOPATH/src/github.com/skycoin/libskycoin/ci-scripts/docker_install_${QEMU_OS}.sh
RUN make -C $GOPATH/src/github.com/skycoin/libskycoin dep
RUN make -C $GOPATH/src/github.com/skycoin/libskycoin install-deps-skyapi-Linux
RUN go get github.com/gz-c/gox
RUN go get -t ./...
ENV CGO_ENABLED=1
Expand Down

0 comments on commit 9d40db1

Please sign in to comment.