Skip to content

Commit

Permalink
fix(ci): upgrade circle ci docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Jan 21, 2019
1 parent eef6664 commit bbad668
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -242,7 +242,7 @@ jobs:
BUILD: /tmp/fl/build

docker:
- image: bertychat/android-ci:v2
- image: bertychat/android-ci:v3
steps:
- checkout:
path: ~/go/src/berty.tech/
Expand Down
6 changes: 3 additions & 3 deletions build/docker/android-ci/Dockerfile
@@ -1,4 +1,4 @@
FROM circleci/android:api-27-node8-alpha
FROM circleci/android:api-28-node8-alpha

RUN cd ~ \
&& git clone https://github.com/udhos/update-golang \
Expand All @@ -8,9 +8,9 @@ RUN echo "export PATH=/usr/local/go/bin/:~/go/bin:$PATH" >> ~/.bashrc

ENV PATH="/usr/local/go/bin/:/home/circleci/go/bin:${PATH}"

RUN go get golang.org/x/mobile/cmd/gomobile
RUN go get -u golang.org/x/mobile/cmd/gomobile

RUN sdkmanager ndk-bundle
RUN yes | sdkmanager ndk-bundle || true

COPY ./gomobile-env-flag.diff /tmp/gomobile-env-flag.diff

Expand Down
2 changes: 1 addition & 1 deletion build/docker/android-ci/Makefile
@@ -1,5 +1,5 @@
MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
IMAGE ?= bertychat/android-ci:v2
IMAGE ?= bertychat/android-ci:v3

build:
cp $(MAKEFILE_DIR)/../patch/gomobile-env-flag.diff .
Expand Down
2 changes: 1 addition & 1 deletion client/react-native/gomobile/Makefile
Expand Up @@ -22,7 +22,7 @@ EXT_LDFLAGS ?= -ldflags="-X \"berty.tech/client/react-native/gomobile/vendor/ber

GOPATH ?= $(HOME)/go

CGO_CPPFLAGS ?= -I$(MAKEFILE_DIR)/../../common/openssl/built/include
CGO_CPPFLAGS ?= -Wno-error=unused-command-line-argument -I$(MAKEFILE_DIR)/../../common/openssl/built/include

CGO_OS_LDFLAGS ?= -L/usr/local/opt/openssl/lib
CGO_OS_CPPFLAGS ?= -I/usr/local/opt/openssl/include
Expand Down

0 comments on commit bbad668

Please sign in to comment.