Skip to content

Commit

Permalink
chore: dockerを用いたbuildツール作成
Browse files Browse the repository at this point in the history
  • Loading branch information
keisukekomeda committed Mar 28, 2024
1 parent bba5e86 commit aca92d0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:12-bullseye
RUN apt update && \
apt install sudo && \
wget -O - https://apt.corretto.aws/corretto.key | sudo gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | sudo tee /etc/apt/sources.list.d/corretto.list && \
sudo apt-get update; sudo apt-get install -y java-1.8.0-amazon-corretto-jdk
20 changes: 20 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"test": "npm run build && npm run generate-test-files && ./buildtools/run_tests.sh",
"serve": "npm run build && npm run generate-test-files && gulp serve",
"generate-test-files": "./buildtools/generate_test_files.sh",
"prepublish": "npm run test && cp -r dist demo/public"
"prepublish": "npm run test && cp -r dist demo/public",
"build-on-docker": "docker image build -t firebaseui-web . && docker run --rm -v $(pwd):/app -w /app firebaseui-web sh -c 'npm install && npm run build && npm run build build-npm-ja && npm run build build-esm-ja && npm run build build-js-ja'"
},
"test": "npm run test",
"author": "Google",
Expand Down

0 comments on commit aca92d0

Please sign in to comment.