From f423c9f7c309a3743414f52f038140191124eed6 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:38:18 +0800 Subject: [PATCH 01/21] build: actions support --- .github/workflows/docker-build.yml | 43 ++++++++++++++++++++++++++++++ Dockerfile | 37 +++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 .github/workflows/docker-build.yml create mode 100644 Dockerfile diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml new file mode 100644 index 0000000..7b1b608 --- /dev/null +++ b/.github/workflows/docker-build.yml @@ -0,0 +1,43 @@ +name: Build and Push Docker Image + +on: + push: + +permissions: + contents: write + packages: write + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + os: [linux, darwin, windows] + arch: [amd64, arm64] + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: all + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + file: ./Dockerfile + platforms: ${{ matrix.os }}/{{ matrix.arch }} + push: true + tags: ghcr.io/${{ github.repository }}/qmisms:${{ matrix.os }}-${{ matrix.arch }} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35042c2 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,37 @@ +# Builder stage +FROM ubuntu:20.04 AS builder + +# Install dependencies +RUN apt-get update && apt-get install -y \ + build-essential \ + xmake \ + git \ + pkg-config \ + libglib2.0-dev \ + libqmi-glib-dev \ + libssl-dev \ + && rm -rf /var/lib/apt/lists/* + +# Set the working directory +WORKDIR /app + +# Copy the source code +COPY . . + +# Build the application +RUN xmake f -y && xmake -y + +# Final stage +FROM ubuntu:20.04 + +# Set the working directory +WORKDIR /app + +# Copy the built application from the builder stage +COPY --from=builder /app/build/qmi_sms_reader /usr/local/bin/qmi_sms_reader + +# Copy configuration file, if needed +COPY config.example.yaml /etc/qmisms/config.yaml + +# Set the entrypoint +ENTRYPOINT ["/usr/local/bin/qmi_sms_reader"] From 4c785723608375741fa74c82aeb538f9137928a2 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:39:35 +0800 Subject: [PATCH 02/21] fix: missing $ in workflow --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7b1b608..1d25d7e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -38,6 +38,6 @@ jobs: with: context: . file: ./Dockerfile - platforms: ${{ matrix.os }}/{{ matrix.arch }} + platforms: ${{ matrix.os }}/${{ matrix.arch }} push: true tags: ghcr.io/${{ github.repository }}/qmisms:${{ matrix.os }}-${{ matrix.arch }} From 99c9b30a925acdaa78c18502e5f10871a53d65f1 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:42:34 +0800 Subject: [PATCH 03/21] fix: wrong tags --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 1d25d7e..f777567 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -40,4 +40,4 @@ jobs: file: ./Dockerfile platforms: ${{ matrix.os }}/${{ matrix.arch }} push: true - tags: ghcr.io/${{ github.repository }}/qmisms:${{ matrix.os }}-${{ matrix.arch }} + tags: ghcr.io/PA733/qmisms:latest From e56c2c52786ee62e85003119f3a2085212a35930 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:46:15 +0800 Subject: [PATCH 04/21] fix: wrong tag name --- .github/workflows/docker-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index f777567..0d7184e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -16,28 +16,28 @@ jobs: arch: [amd64, arm64] steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 with: platforms: all - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: context: . file: ./Dockerfile platforms: ${{ matrix.os }}/${{ matrix.arch }} push: true - tags: ghcr.io/PA733/qmisms:latest + tags: ghcr.io/pa733/qmisms:latest From 00d08566a1db4986dc5ba6277353b14fde663b81 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:50:28 +0800 Subject: [PATCH 05/21] fix: ubuntu image not found --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 35042c2..adb21d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Builder stage -FROM ubuntu:20.04 AS builder +FROM ubuntu:24.04 AS builder # Install dependencies RUN apt-get update && apt-get install -y \ @@ -22,7 +22,7 @@ COPY . . RUN xmake f -y && xmake -y # Final stage -FROM ubuntu:20.04 +FROM ubuntu:24.04 # Set the working directory WORKDIR /app From 400ebf724838345d37707b1136ed8e29b1a41c46 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:52:48 +0800 Subject: [PATCH 06/21] fix: ubuntu on win & macos not found --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 0d7184e..5786b53 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - os: [linux, darwin, windows] + os: [linux] arch: [amd64, arm64] steps: - name: Checkout code From 812c55187b1429bfee1cbabebf40fa90d4c26b42 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:54:59 +0800 Subject: [PATCH 07/21] fix: xmake error --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index adb21d1..0703475 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,8 @@ WORKDIR /app COPY . . # Build the application -RUN xmake f -y && xmake -y +RUN export XMAKE_ROOT=y \ + && xmake f -y && xmake -y # Final stage FROM ubuntu:24.04 From 4f1145b8eda4c8148ecdf557a8b36574ca8826d3 Mon Sep 17 00:00:00 2001 From: PA733 Date: Fri, 4 Apr 2025 23:58:10 +0800 Subject: [PATCH 08/21] fix: unzip or 7zip not found --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 0703475..6f8a177 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ RUN apt-get update && apt-get install -y \ libglib2.0-dev \ libqmi-glib-dev \ libssl-dev \ + p7zip-full \ + unzip \ && rm -rf /var/lib/apt/lists/* # Set the working directory @@ -25,6 +27,10 @@ RUN export XMAKE_ROOT=y \ # Final stage FROM ubuntu:24.04 +RUN apt-get update && apt-get install -y \ + libqmi-glib5 \ + && rm -rf /var/lib/apt/lists/* + # Set the working directory WORKDIR /app From e1c5e0592a4a1a28c22051a108f69546745373be Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 00:29:01 +0800 Subject: [PATCH 09/21] fix: build stuck --- .github/workflows/docker-build.yml | 3 +++ Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5786b53..5d41932 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -18,6 +18,9 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Update Submodule + run: git submodule update --init --recursive + - name: Set up QEMU uses: docker/setup-qemu-action@v3 with: diff --git a/Dockerfile b/Dockerfile index 6f8a177..989ca2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ COPY . . # Build the application RUN export XMAKE_ROOT=y \ - && xmake f -y && xmake -y + && xmake f -y && xmake build -y qmi_sms_reader # Final stage FROM ubuntu:24.04 From 782b2cd7d254c540e9df9e2a5c9391415aa7991b Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 19:57:42 +0800 Subject: [PATCH 10/21] fix: build failed --- Dockerfile | 8 ++++++-- xmake.lua | 19 ++++++------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 989ca2d..f5f0db0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,14 @@ FROM ubuntu:24.04 AS builder # Install dependencies RUN apt-get update && apt-get install -y \ build-essential \ - xmake \ git \ + xmake \ + curl \ pkg-config \ + libgflags-dev \ libglib2.0-dev \ libqmi-glib-dev \ + libmbim-glib-dev \ libssl-dev \ p7zip-full \ unzip \ @@ -22,7 +25,8 @@ COPY . . # Build the application RUN export XMAKE_ROOT=y \ - && xmake f -y && xmake build -y qmi_sms_reader + && xmake f -vD -y && xmake build -y qmi_sms_reader \ + && find /app/build/ -type f -name qmi_sms_reader -exec cp {} /app/build/qmi_sms_reader \; # Final stage FROM ubuntu:24.04 diff --git a/xmake.lua b/xmake.lua index bebc0c9..3753424 100644 --- a/xmake.lua +++ b/xmake.lua @@ -2,8 +2,10 @@ add_rules("mode.debug", "mode.release") add_requires("ixwebsocket", {configs = {use_tls = true, ssl = "mbedtls"}}) add_requires("yaml-cpp", {configs = {shared = false}}) -add_requires("openssl", {system = false, configs = {shared = false}}) -add_requires("cppcodec", "nlohmann_json", "glog") +add_requires("glog", {configs = {shared = false}}) +add_requires("glib-2.0", {system = true}) +add_requires("qmi-glib", {system = true}) +add_requires("cppcodec", "nlohmann_json") add_repositories("local-repo build") add_requires("ixwebsocket-custom", {configs = {use_tls = true, ssl = "mbedtls"}}) @@ -23,21 +25,12 @@ target("qmi_sms_reader") add_defines("DESKTOP_PDU") add_files("PDUlib/src/*.cpp") - add_packages("openssl", "cppcodec", "yaml-cpp", "ixwebsocket-custom", "nlohmann_json", "glog") - - add_packages("pkgconfig::glib-2.0", "pkgconfig::qmi-glib") + add_packages("openssl", "cppcodec", "yaml-cpp", "ixwebsocket-custom", "nlohmann_json", "glog", "glib-2.0", "qmi-glib") add_links("gio-2.0", "gobject-2.0", "glib-2.0") add_ldflags("-static-libgcc", "-static-libstdc++", "-Wl,-Bstatic -lc -Wl,-Bdynamic") add_links("qmi-glib", "gio-2.0", "gobject-2.0", "glib-2.0") - -- 补全一些 clangd 找不到的库 - add_includedirs( - "/usr/include/glib-2.0", - "/usr/lib/aarch64-linux-gnu/glib-2.0/include", - "/usr/include/libqrtr-glib", - "/usr/local/include/libqmi-glib") - -- 指定 libqmi 的库目录 add_linkdirs("/usr/lib") @@ -68,7 +61,7 @@ target("qmi_sms_reader_musl") add_packages("pkgconfig::glib-2.0", "pkgconfig::qmi-glib") add_links("gio-2.0", "gobject-2.0", "glib-2.0", "qmi-glib") - + add_linkdirs( staging_dir .. "/target-aarch64_generic_musl/usr/lib", staging_dir .. "/target-aarch64_generic_musl/root-rockchip/usr/lib") From fe66884c6f137d06eb52ff1f7cb4987e70b01c0e Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 20:36:55 +0800 Subject: [PATCH 11/21] fix: wrong override operation --- .github/workflows/docker-build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5d41932..6aa8a04 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -10,10 +10,6 @@ permissions: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - os: [linux] - arch: [amd64, arm64] steps: - name: Checkout code uses: actions/checkout@v4 @@ -41,6 +37,6 @@ jobs: with: context: . file: ./Dockerfile - platforms: ${{ matrix.os }}/${{ matrix.arch }} + platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/pa733/qmisms:latest From d139b4edc792b523f9783d23c5fd1465849495fc Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 21:01:45 +0800 Subject: [PATCH 12/21] fix: libgflags not found --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f5f0db0..02223ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ FROM ubuntu:24.04 RUN apt-get update && apt-get install -y \ libqmi-glib5 \ + libgflags2.2 \ && rm -rf /var/lib/apt/lists/* # Set the working directory From 854f438d6423b23795bc1ea1c89e8e3ea78268ea Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 21:47:46 +0800 Subject: [PATCH 13/21] fix: can't spawn qmi-proxy --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 02223ea..ba9a398 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,9 @@ FROM ubuntu:24.04 RUN apt-get update && apt-get install -y \ libqmi-glib5 \ + libqmi-proxy \ libgflags2.2 \ + ca-certificates \ && rm -rf /var/lib/apt/lists/* # Set the working directory From 102cb0efe404c34389b99042cc0f5c6f1b741f98 Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 21:48:01 +0800 Subject: [PATCH 14/21] feat: cache --- .github/workflows/docker-build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 6aa8a04..94cdbb4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -31,6 +31,14 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + + - name: Cache Docker layers + uses: actions/cache@v4 + with: + path: /tmp/.buildx-cache + key: ${{ runner.os }}-buildx-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-buildx- - name: Build and push uses: docker/build-push-action@v6 @@ -40,3 +48,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ghcr.io/pa733/qmisms:latest + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache,mode=max From ad5d61ae404e9ee2ccc508de973f75a090aa400d Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 21:58:49 +0800 Subject: [PATCH 15/21] feat: push to multi registers --- .github/workflows/docker-build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 94cdbb4..b5dd634 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -25,11 +25,17 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Cache Docker layers @@ -47,6 +53,8 @@ jobs: file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: true - tags: ghcr.io/pa733/qmisms:latest cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache,mode=max + tags: | + pa733/qmisms:latest + ghcr.io/pa733/qmisms:latest From 97522d1169443e4dba72fdb6111b1bb2cd301faf Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 22:51:14 +0800 Subject: [PATCH 16/21] docs: add usage instructions --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 300d6a6..40a4a89 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ # QmiSMS +## Usage +1. Copy the example configuration file and modify it as needed +```bash +cp config.example.yaml config.yaml +``` +2. Run the container +```bash +docker run -d \ + --name qmi_sms_reader \ + --restart unless-stopped \ + --device /dev/cdc-wdm0:/dev/cdc-wdm0 \ + -v $(pwd)/config.yaml:/app/config.yaml \ + ghcr.io/pa733/qmisms:latest +``` ## Compatible Servers [Super SMS Bridge](https://github.com/PA733/SuperSMSBridge) \ No newline at end of file From 4ff3198ea944b6af7d6bc8d2d1fee9d750aa442d Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 22:54:46 +0800 Subject: [PATCH 17/21] fix: use internal cache by build-push-action --- .github/workflows/docker-build.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index b5dd634..a309e58 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -38,14 +38,6 @@ jobs: username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Cache Docker layers - uses: actions/cache@v4 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-buildx- - - name: Build and push uses: docker/build-push-action@v6 with: @@ -53,8 +45,8 @@ jobs: file: ./Dockerfile platforms: linux/amd64,linux/arm64 push: true - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache,mode=max + cache-from: type=gha + cache-to: type=gha,mode=max tags: | pa733/qmisms:latest ghcr.io/pa733/qmisms:latest From 0459343e6f65976f5ce777889233720c045c411d Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 23:07:16 +0800 Subject: [PATCH 18/21] feat: cache dependencies by optimizing builder steps --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba9a398..2919e57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,17 @@ RUN apt-get update && apt-get install -y \ # Set the working directory WORKDIR /app +# Install Xmake dependencies +COPY xmake.lua . + +RUN export XMAKE_ROOT=y \ + && xmake f -vD -y + # Copy the source code COPY . . # Build the application RUN export XMAKE_ROOT=y \ - && xmake f -vD -y && xmake build -y qmi_sms_reader \ && find /app/build/ -type f -name qmi_sms_reader -exec cp {} /app/build/qmi_sms_reader \; # Final stage From 4ccaa1fc413ac517317b0ba931790636b5bb7968 Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 23:11:02 +0800 Subject: [PATCH 19/21] fix: copy custom package before installing xmake dependencies --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2919e57..425b323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,7 @@ WORKDIR /app # Install Xmake dependencies COPY xmake.lua . +COPY build . RUN export XMAKE_ROOT=y \ && xmake f -vD -y From f7700583b69b35bb6dc735a15b31943a15491068 Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 23:17:11 +0800 Subject: [PATCH 20/21] fix: copy build dir correctly --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 425b323..d736107 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ WORKDIR /app # Install Xmake dependencies COPY xmake.lua . -COPY build . +COPY build ./build RUN export XMAKE_ROOT=y \ && xmake f -vD -y From 1aa23c2a869d7a26922ca0e14d444d7f72c45d39 Mon Sep 17 00:00:00 2001 From: PA733 Date: Sat, 5 Apr 2025 23:23:27 +0800 Subject: [PATCH 21/21] fix: revert accidently removed xmake build in 0459343 --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d736107..86276df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,7 @@ COPY . . # Build the application RUN export XMAKE_ROOT=y \ + && xmake build -y qmi_sms_reader \ && find /app/build/ -type f -name qmi_sms_reader -exec cp {} /app/build/qmi_sms_reader \; # Final stage