chore(ci): update ci environment
Pyxis/fieldnotes/pipeline/head This commit is unstable
Details
Pyxis/fieldnotes/pipeline/head This commit is unstable
Details
This commit is contained in:
parent
48d763df54
commit
306dbae66a
|
@ -1,5 +1,8 @@
|
|||
FROM ubuntu:18.04
|
||||
|
||||
ARG GOLANG_VERSION=1.18.4
|
||||
ARG NODEJS_VERSION=16.x
|
||||
|
||||
ENV ANDROID_RELEASE_KEYSTORE=
|
||||
ENV ANDROID_HOME=/opt/android-sdk-linux
|
||||
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk-bundle
|
||||
|
@ -14,12 +17,12 @@ RUN locale-gen en_US.UTF-8
|
|||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
|
||||
|
||||
# Install NodeJS
|
||||
RUN wget -O- https://deb.nodesource.com/setup_14.x | bash - \
|
||||
RUN wget -O- https://deb.nodesource.com/setup_${NODEJS_VERSION} | bash - \
|
||||
&& apt-get update -y \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# Install Golang
|
||||
RUN wget -O golang.tar.gz https://golang.org/dl/go1.15.5.linux-amd64.tar.gz \
|
||||
RUN wget -O golang.tar.gz https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz \
|
||||
&& tar -C /usr/local -xzf golang.tar.gz
|
||||
|
||||
# Install Android SDK/NDK
|
||||
|
|
Loading…
Reference in New Issue