Skip to content

Commit 6ed6153

Browse files
authored
feat: enable support for aliyun tableStore (#70)
feat: enable support for aliyun tableStore Refs:
1 parent 5009899 commit 6ed6153

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+3292
-120
lines changed

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/.idea/
2-
/node_modules/
3-
/dist/
4-
/coverage/
5-
/.vscode/
1+
.idea/
2+
node_modules/
3+
dist/
4+
coverage/
5+
.vscode/
66
.DS_Store
7-
/artifacts/
7+
artifacts/

layers/si-bootstrap-sdk/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM node:18.20.3-buster-slim@sha256:95fb3cf1d1ab1834c0fd65cdd2246198662460ae8f982a6cfab187889dd54bbe AS builder
2+
WORKDIR /app
3+
4+
ENV NODE_ENV=development
5+
COPY ./package.json .
6+
COPY ./package-lock.json .
7+
RUN npm install
8+
COPY ./tsconfig.json .
9+
COPY ./src ./src
10+
RUN npm run build
11+
12+
FROM node:18.20.3-buster-slim@sha256:95fb3cf1d1ab1834c0fd65cdd2246198662460ae8f982a6cfab187889dd54bbe
13+
WORKDIR /app
14+
15+
ENV NODE_ENV=production
16+
COPY --from=builder /app/dist .
17+
COPY ./package.json .
18+
COPY ./package-lock.json .
19+
RUN npm install
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM alpine:latest
2+
3+
RUN apk update && apk add --no-cache jq
4+
5+
# install aliyuncli
6+
RUN wget https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz
7+
RUN tar -xvzf aliyun-cli-linux-latest-amd64.tgz
8+
RUN rm aliyun-cli-linux-latest-amd64.tgz
9+
RUN mv aliyun /usr/local/bin/
10+
11+
# 注意:alpine需要额外创建 lib64 的动态链接库软连接
12+
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

layers/si-bootstrap-sdk/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ServerlessInsight bootstrap SDK

0 commit comments

Comments
 (0)