Skip to content

Commit

Permalink
Added executor
Browse files Browse the repository at this point in the history
  • Loading branch information
Loic-Vanden-Bossche committed Jul 25, 2023
1 parent 21dfd81 commit 5ae722d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,20 @@ jobs:
run: |
docker build -f executor-base.Dockerfile -t fpr-executor-base:latest .
- name: Build, tag, and push python executor image to Amazon ECR
- name: Build, tag, and push python executor python image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: fpr-executor-repository
IMAGE_TAG: executor-python-latest
run: |
docker build -f executor-python.Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Build, tag, and push python executor python image to Amazon ECR
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: fpr-executor-repository
IMAGE_TAG: executor-node-latest
run: |
docker build -f executor-node.Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
8 changes: 8 additions & 0 deletions executor-node.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM node:16.11.1-slim-bullseye as node-base

FROM fpr-executor-base:latest

COPY --from=node-base /usr/local/lib/ /usr/local/lib/
COPY --from=node-base /usr/local/bin/node /usr/local/bin/node

COPY --from=node-base /etc/ld.so.cache /etc/ld.so.cache

0 comments on commit 5ae722d

Please sign in to comment.