-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
81 additions
and
92 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
FROM arcw/sgcc_electricity:latest | ||
ARG BUILD_FROM | ||
FROM $BUILD_FROM | ||
|
||
COPY run.sh /run.sh | ||
RUN chmod +x /run.sh | ||
ENV SET_CONTAINER_TIMEZONE true | ||
ENV CONTAINER_TIMEZONE Asia/Shanghai | ||
|
||
ENV LANG C.UTF-8 | ||
ENTRYPOINT ["/bin/bash", "/run.sh"] | ||
WORKDIR /app | ||
|
||
CMD ["python3", "main.py"] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
build_from: | ||
aarch64: registry.cn-hangzhou.aliyuncs.com/arcw/sgcc_electricity:latest | ||
amd64: registry.cn-hangzhou.aliyuncs.com/arcw/sgcc_electricity:latest | ||
labels: | ||
org.opencontainers.image.title: "SGCC Electricity Add-on" | ||
org.opencontainers.image.description: "State Grid Electric Data" | ||
org.opencontainers.image.source: "https://github.com/ARC-MX/sgcc_electricity_new" | ||
aarch64: registry.cn-hangzhou.aliyuncs.com/arcw/sgcc_electricity-arm64:latest | ||
amd64: registry.cn-hangzhou.aliyuncs.com/arcw/sgcc_electricity-amd64:latest | ||
codenotary: | ||
base_image: ARC-MX@github.com | ||
signer: ARC-MX@github.com |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
name: sgcc_electricity_new add-on repository | ||
name: sgcc_electricity add-on repository | ||
url: 'https://github.com/ARC-MX/sgcc_electricity_new' | ||
maintainer: sgcc_electricity_new | ||
maintainer: sgcc_electricity |
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
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
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