Skip to content

Commit 298595c

Browse files
authored
Merge pull request #49 from devsapp/fix-custom-cpp
fix cpp run in custom runtime
2 parents f0271ac + 756292d commit 298595c

File tree

5 files changed

+6
-17
lines changed

5 files changed

+6
-17
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
build-img:
2-
docker build -t fc-cpp-runtime -f build-image/Dockerfile build-image
3-
4-
build: build-img
5-
docker run --rm -it -v $$(pwd):/tmp fc-cpp-runtime bash -c "cd /tmp && ./build.sh"
1+
build:
2+
docker run --rm -it -v $$(pwd):/tmp aliyunfc/runtime-custom:build bash -c "cd /tmp && ./build.sh"
63

74
deploy: build
85
s deploy -y

custom-function/cpp/fc-custom-cpp-event/src/build-image/Dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
build-img:
2-
docker build -t fc-cpp-runtime -f build-image/Dockerfile build-image
3-
4-
build: build-img
5-
docker run --rm -it -v $$(pwd):/tmp fc-cpp-runtime bash -c "cd /tmp && ./build.sh"
1+
build:
2+
docker run --rm -it -v $$(pwd):/tmp aliyunfc/runtime-custom:build bash -c "cd /tmp && ./build.sh"
63

74
deploy: build
85
s deploy -y

custom-function/cpp/fc-custom-cpp-http/src/build-image/Dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

update.list

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
custom-function/java17/fc-custom-java17-http
1+
custom-function/cpp/fc-custom-cpp-http
2+
custom-function/cpp/fc-custom-cpp-event

0 commit comments

Comments
 (0)