-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix-readme-about-run-with-docker #84
Merged
yuiseki
merged 1 commit into
arakawatomonori:master
from
tamakiii-sandbox:fix-readme-about-run-with-docker
Apr 18, 2020
Merged
fix-readme-about-run-with-docker #84
yuiseki
merged 1 commit into
arakawatomonori:master
from
tamakiii-sandbox:fix-readme-about-run-with-docker
Apr 18, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
tamakiii
commented
Apr 18, 2020
•
edited
Loading
edited
- issue: docker-compose upで開発・テスト環境起動できるようにする #26
- Dockerfile が移動して README が古くなっていたのをfix
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker build -t vscovid-crawler .
Sending build context to Docker daemon 3.621MB
Step 1/8 : FROM ubuntu:18.04
---> 4e5021d210f6
Step 2/8 : MAINTAINER TAKANO Mitsuhiro
---> Running in 1378573d018b
Removing intermediate container 1378573d018b
---> 17d9de846f00
Step 3/8 : RUN apt-get update && apt-get install -y make wget jq nginx fcgiwrap squid && apt-get clean && rm -rf /var/lib/apt/lists/*
---> Running in f21fa71eadbb
...
Successfully built 0fa20b856a1e
Successfully tagged vscovid-crawler:latest
🧸 sarabi-mastiff.lan:covid19-surveyor
$ echo 'environment=development' > .env
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker run -it --rm -p 8080:80 -v $(pwd):/home/ubuntu/vscovid-crawler --entrypoint /home/ubuntu/vscovid-crawler/docker/entrypoint.sh vscovid-crawler
find ./test/ -regex '.*\.sh$' | xargs -t -n1 bash
bash ./test/url-map_test.sh
actual 首相官邸ホームページ
expect 首相官邸ホームページ |
🧸 sarabi-mastiff.lan:covid19-surveyor
$ docker run -it --rm -p 8080:80 -v $(pwd):/home/ubuntu/vscovid-crawler --entrypoint /home/ubuntu/vscovid-crawler/docker/entrypoint.sh vscovid-crawler
Makefile:2: .env: No such file or directory
sed: can't read .env: No such file or directory
make: *** No rule to make target '.env'. Stop. |
.PHONY: install install-dev
install:
...
install-dev: \
dev \
install
dev:
$(eval ENVIRONMENT := development) |
こうしておけば if [ "$1" == "" ]; then
# main script
else
exec "$@"
fi |
Merged
yuiseki
approved these changes
Apr 18, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
READMEの修正と空行の削除だけなのでよさそうです
あー、READMEなおしたのsaveされてなくてコミット漏れになってたorz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.