Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(docker): update Dockerfile to install curl for health check (#1746)

* fix(docker): update Dockerfile to install curl for health check

* use dofigen

---------

Co-authored-by: Thibault Le Ouay <thibaultleouay@gmail.com>

authored by

Richard Hillebrand
Thibault Le Ouay
and committed by
GitHub
725dee48 69fd4c72

+67 -60
+1
apps/workflows/Dockerfile
··· 116 116 --chown=1000:1000 \ 117 117 --link \ 118 118 "/etc/ssl/certs/ca-certificates.crt" "/etc/ssl/certs/" 119 + RUN apt update && apt install -y curl && rm -rf /var/lib/apt/lists/* 119 120 USER 1000:1000 120 121 EXPOSE 3000 121 122 ENTRYPOINT ["/app/apps/workflows/app"]
+64 -60
apps/workflows/dofigen.lock
··· 12 12 - /packages/error 13 13 - /packages/tracker 14 14 builders: 15 - libsql: 16 - fromImage: 17 - path: oven/bun 18 - digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 19 - label: 20 - org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 21 - org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 22 - workdir: /app/ 23 - copy: 24 - - fromBuilder: docker 25 - paths: 26 - - /app/apps/build-docker/package.json 27 - target: /app/package.json 28 - run: 29 - - bun install 30 - build: 31 - fromImage: 32 - path: oven/bun 33 - digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 34 - label: 35 - org.opencontainers.image.stage: build 36 - org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 37 - org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 38 - workdir: /app/apps/workflows 39 - env: 40 - NODE_ENV: production 41 - copy: 42 - - paths: 43 - - . 44 - target: /app/ 45 - - fromBuilder: install 46 - paths: 47 - - /app/node_modules 48 - target: /app/node_modules 49 - run: 50 - - bun build --compile --target bun --sourcemap --format=cjs src/index.ts --outfile=app 51 - docker: 52 - fromImage: 53 - path: oven/bun 54 - digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 55 - label: 56 - org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 57 - org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 58 - workdir: /app/apps/workflows 59 - copy: 60 - - paths: 61 - - . 62 - target: /app/ 63 - run: 64 - - bun run src/build-docker.ts 65 15 ca-certs: 66 16 fromImage: 67 17 path: debian 68 - digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b 18 + digest: sha256:b32674fb57780ad57d7b0749242d3f585f462f4ec4a60ae0adacd945f9cb9734 69 19 label: 70 20 org.opencontainers.image.base.name: docker.io/debian:bullseye-slim 71 - org.opencontainers.image.base.digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b 21 + org.opencontainers.image.base.digest: sha256:b32674fb57780ad57d7b0749242d3f585f462f4ec4a60ae0adacd945f9cb9734 72 22 run: 73 23 - apt update && apt install -y ca-certificates && update-ca-certificates 74 24 install: ··· 131 81 source: packages/upstash/package.json 132 82 - target: packages/theme-store/package.json 133 83 source: packages/theme-store/package.json 84 + build: 85 + fromImage: 86 + path: oven/bun 87 + digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 88 + label: 89 + org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 90 + org.opencontainers.image.stage: build 91 + org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 92 + workdir: /app/apps/workflows 93 + env: 94 + NODE_ENV: production 95 + copy: 96 + - paths: 97 + - . 98 + target: /app/ 99 + - fromBuilder: install 100 + paths: 101 + - /app/node_modules 102 + target: /app/node_modules 103 + run: 104 + - bun build --compile --target bun --sourcemap --format=cjs src/index.ts --outfile=app 105 + docker: 106 + fromImage: 107 + path: oven/bun 108 + digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 109 + label: 110 + org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 111 + org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 112 + workdir: /app/apps/workflows 113 + copy: 114 + - paths: 115 + - . 116 + target: /app/ 117 + run: 118 + - bun run src/build-docker.ts 119 + libsql: 120 + fromImage: 121 + path: oven/bun 122 + digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 123 + label: 124 + org.opencontainers.image.base.digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 125 + org.opencontainers.image.base.name: docker.io/oven/bun:1.3.6 126 + workdir: /app/ 127 + copy: 128 + - fromBuilder: docker 129 + paths: 130 + - /app/apps/build-docker/package.json 131 + target: /app/package.json 132 + run: 133 + - bun install 134 134 fromImage: 135 135 path: debian 136 - digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b 136 + digest: sha256:b32674fb57780ad57d7b0749242d3f585f462f4ec4a60ae0adacd945f9cb9734 137 137 label: 138 - org.opencontainers.image.description: Background job processing and probe scheduling for OpenStatus 139 - org.opencontainers.image.base.name: docker.io/debian:bullseye-slim 138 + io.dofigen.version: 2.6.0 140 139 org.opencontainers.image.vendor: OpenStatus 141 140 org.opencontainers.image.source: https://github.com/openstatusHQ/openstatus 142 - org.opencontainers.image.title: OpenStatus Workflows 143 - org.opencontainers.image.base.digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b 141 + org.opencontainers.image.base.name: docker.io/debian:bullseye-slim 142 + org.opencontainers.image.description: Background job processing and probe scheduling for OpenStatus 143 + org.opencontainers.image.base.digest: sha256:b32674fb57780ad57d7b0749242d3f585f462f4ec4a60ae0adacd945f9cb9734 144 144 org.opencontainers.image.authors: OpenStatus Team 145 - io.dofigen.version: 2.6.0 145 + org.opencontainers.image.title: OpenStatus Workflows 146 146 workdir: /app/ 147 147 copy: 148 148 - fromBuilder: build ··· 162 162 paths: 163 163 - /etc/ssl/certs/ca-certificates.crt 164 164 target: /etc/ssl/certs/ 165 + run: 166 + - apt update && apt install -y curl && rm -rf /var/lib/apt/lists/* 165 167 entrypoint: 166 168 - /app/apps/workflows/app 167 169 expose: ··· 171 173 library: 172 174 debian: 173 175 bullseye-slim: 174 - digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b 176 + digest: sha256:b32674fb57780ad57d7b0749242d3f585f462f4ec4a60ae0adacd945f9cb9734 175 177 oven: 176 178 bun: 177 179 1.3.6: 178 180 digest: sha256:f20d9cf365ab35529384f1717687c739c92e6f39157a35a95ef06f4049a10e4a 179 181 resources: 180 182 dofigen.yml: 181 - hash: ef348ec787ab960110922454936b54cd60350bd6bc47879ae60e42f9a1db7c3d 183 + hash: d4c321cbb7593d300b7c6a74e58cb7ef2b3a4f37253386bd348d2d0f844b7248 182 184 content: | 183 185 ignore: 184 186 - node_modules ··· 291 293 source: /etc/ssl/certs/ca-certificates.crt 292 294 target: /etc/ssl/certs/ 293 295 expose: "3000" 296 + run: apt update && apt install -y curl && rm -rf /var/lib/apt/lists/* 297 + 294 298 entrypoint: /app/apps/workflows/app
+2
apps/workflows/dofigen.yml
··· 109 109 source: /etc/ssl/certs/ca-certificates.crt 110 110 target: /etc/ssl/certs/ 111 111 expose: "3000" 112 + run: apt update && apt install -y curl && rm -rf /var/lib/apt/lists/* 113 + 112 114 entrypoint: /app/apps/workflows/app