From 4215d2f6f944fbb9c087b0b557f4cbcd7bb06622 Mon Sep 17 00:00:00 2001 From: Jacky Date: Thu, 16 Feb 2023 22:40:29 +0800 Subject: [PATCH] chore: Create CONTRIBUTING.md --- CONTRIBUTING.md | 10 ++++++++++ dev.Dockerfile | 8 ++++---- frontend/src/version.json | 2 +- frontend/version.json | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..ceb3ffe2 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,10 @@ +# Contributing +Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. + +If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again! + +Fork the Project +Create your Feature Branch (git checkout -b feature/AmazingFeature) +Commit your Changes (git commit -m 'Add some AmazingFeature') +Push to the Branch (git push origin feature/AmazingFeature) +Open a Pull Request diff --git a/dev.Dockerfile b/dev.Dockerfile index ab9d16a1..21cc50c5 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,9 +1,9 @@ -FROM --platform=linux/amd64 ubuntu:latest +FROM --platform=linux/arm64/v8 ubuntu:latest WORKDIR /app EXPOSE 80 443 -COPY resources/development/sources.list /etc/apt/sources.list +# COPY resources/development/sources.list /etc/apt/sources.list RUN set -x \ # create nginx user/group first, to be consistent throughout docker variants @@ -11,8 +11,8 @@ RUN set -x \ && adduser --system --disabled-login --ingroup nginx --no-create-home --home /nonexistent --gecos "nginx user" --shell /bin/false --uid 101 nginx \ && apt update && apt install -y wget nginx gcc curl -RUN wget https://go.dev/dl/go1.20.linux-amd64.tar.gz && \ - rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz && rm -f go1.20.linux-amd64.tar.gz +RUN wget https://go.dev/dl/go1.20.1.linux-arm64.tar.gz && \ + rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.1.linux-arm64.tar.gz && rm -f go1.20.1.linux-arm64.tar.gz ENV PATH="${PATH}:/usr/local/go/bin" diff --git a/frontend/src/version.json b/frontend/src/version.json index a3c1a511..14088afc 100644 --- a/frontend/src/version.json +++ b/frontend/src/version.json @@ -1 +1 @@ -{"version":"1.7.6","build_id":82,"total_build":152} \ No newline at end of file +{"version":"1.7.6","build_id":83,"total_build":153} \ No newline at end of file diff --git a/frontend/version.json b/frontend/version.json index a3c1a511..14088afc 100644 --- a/frontend/version.json +++ b/frontend/version.json @@ -1 +1 @@ -{"version":"1.7.6","build_id":82,"total_build":152} \ No newline at end of file +{"version":"1.7.6","build_id":83,"total_build":153} \ No newline at end of file