Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
9372f861
Unverified
Commit
9372f861
authored
Oct 19, 2018
by
Greg Spencer
Committed by
GitHub
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the Dockerfile to use the master firebase-tools, tweak scripts (#23279)
parent
fbb01eab
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
Dockerfile
dev/ci/docker_linux/Dockerfile
+1
-1
docker_build.sh
dev/ci/docker_linux/docker_build.sh
+2
-2
docker_login.sh
dev/ci/docker_linux/docker_login.sh
+2
-2
docker_push.sh
dev/ci/docker_linux/docker_push.sh
+1
-1
No files found.
dev/ci/docker_linux/Dockerfile
View file @
9372f861
...
...
@@ -82,7 +82,7 @@ ENV PATH="$GRADLE_ROOT/bin:$PATH"
ENV
PATH="/usr/bin:${PATH}"
RUN
dpkg-query
-L
nodejs
# Install Firebase
RUN
/usr/bin/npm
install
-g
firebase-tools
RUN
/usr/bin/npm
install
-g
git://github.com/firebase/firebase-tools.git
# Set locale to en_US
RUN
locale-gen en_US
"en_US.UTF-8"
&&
dpkg-reconfigure locales
...
...
dev/ci/docker_linux/docker_build.sh
View file @
9372f861
...
...
@@ -3,6 +3,6 @@
TAG
=
"
${
CIRRUS_TAG
:-
latest
}
"
# pull to make sure we are not rebuilding for nothing
docker pull
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
sudo
docker pull
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
docker build
--tag
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
.
sudo
docker build
"
$@
"
--tag
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
.
dev/ci/docker_linux/docker_login.sh
View file @
9372f861
...
...
@@ -3,5 +3,5 @@
if
[[
-n
"
$CIRRUS_CI
"
&&
-n
"
$GCLOUD_CREDENTIALS
"
]]
;
then
echo
"
$GCLOUD_CREDENTIALS
"
|
base64
--decode
| docker login
-u
_json_key
--password-stdin
https://gcr.io
else
gcloud auth print-access-token | docker login
-u
oauth2accesstoken
--password-stdin
https://gcr.io
fi
\ No newline at end of file
gcloud auth print-access-token |
sudo
docker login
-u
oauth2accesstoken
--password-stdin
https://gcr.io
fi
dev/ci/docker_linux/docker_push.sh
View file @
9372f861
...
...
@@ -2,5 +2,5 @@
TAG
=
"
${
CIRRUS_TAG
:-
latest
}
"
docker push
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
sudo
docker push
"gcr.io/flutter-cirrus/build-flutter-image:
$TAG
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment