Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhare committed Mar 17, 2021
1 parent 30419e7 commit ac96839
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/get_credit_bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:

- name: install dependencies
run: |
pwd
ls
sudo apt-get update
sudo apt-get -y install tesseract-ocr
pip3 install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.phony: push build bash run

build:
docker build -t 1point3acres -f docker/dockerfile .
docker build -t 1point3acres -f docker/dockerfile.aws.lambda .

bash:
docker run --rm -it --entrypoint=bash 1point3acres
Expand Down
4 changes: 2 additions & 2 deletions docker/dockerfile.aws.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# debian + awslambdaric
# size: 729MB
from debian:latest
copy docker/debian.aliyun.sources.list /etc/apt/sources.list
copy docker/pip.conf /root/.pip/pip.conf
#copy docker/debian.aliyun.sources.list /etc/apt/sources.list
#copy docker/pip.conf /root/.pip/pip.conf
#run echo "deb https://notesalexp.org/tesseract-ocr/buster/ buster main" >> /etc/apt/sources.list
run apt-get update #-oAcquire::AllowInsecureRepositories=true
run apt-get -y install autoconf python3 python3-pip cmake libtool tesseract-ocr
Expand Down

0 comments on commit ac96839

Please sign in to comment.