Skip to content

Commit 4383e46

Browse files
authored
Merge pull request #3290 from amirhmoradi/claude/update-dockerfile-deps-WD7Lw
feat: Update build dependencies to their latest versions
2 parents 831a181 + 60d69d2 commit 4383e46

17 files changed

Lines changed: 6998 additions & 22 deletions

File tree

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
- name: Install Nixpacks
2525
if: matrix.job == 'test'
2626
run: |
27-
export NIXPACKS_VERSION=1.39.0
27+
export NIXPACKS_VERSION=1.41.0
2828
curl -sSL https://nixpacks.com/install.sh | bash
2929
echo "Nixpacks installed $NIXPACKS_VERSION"
30-
30+
3131
- name: Install Railpack
3232
if: matrix.job == 'test'
3333
run: |
34-
export RAILPACK_VERSION=0.15.0
34+
export RAILPACK_VERSION=0.15.4
3535
curl -sSL https://railpack.com/install.sh | bash
3636
echo "Railpack installed $RAILPACK_VERSION"
3737

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ curl -sSL https://railpack.com/install.sh | sh
148148

149149
```bash
150150
# Install Buildpacks
151-
curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.35.0/pack-v0.35.0-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack
151+
curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v0.39.1-linux.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack
152152
```
153153

154154
## Pull Request

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,18 @@ RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh --ver
5151
# Install Nixpacks and tsx
5252
# | VERBOSE=1 VERSION=1.21.0 bash
5353

54-
ARG NIXPACKS_VERSION=1.39.0
54+
ARG NIXPACKS_VERSION=1.41.0
5555
RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \
5656
&& chmod +x install.sh \
5757
&& ./install.sh \
5858
&& pnpm install -g tsx
5959

6060
# Install Railpack
61-
ARG RAILPACK_VERSION=0.2.2
61+
ARG RAILPACK_VERSION=0.15.4
6262
RUN curl -sSL https://railpack.com/install.sh | bash
6363

6464
# Install buildpacks
65-
COPY --from=buildpacksio/pack:0.35.0 /usr/local/bin/pack /usr/local/bin/pack
65+
COPY --from=buildpacksio/pack:0.39.1 /usr/local/bin/pack /usr/local/bin/pack
6666

6767
EXPOSE 3000
6868
CMD [ "pnpm", "start" ]

Dockerfile.cloud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ RUN curl https://rclone.org/install.sh | bash
6060
RUN pnpm install -g tsx
6161

6262
EXPOSE 3000
63-
CMD [ "pnpm", "start" ]
63+
CMD [ "pnpm", "start" ]

Dockerfile.schedule

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ COPY --from=build /prod/schedules/dist ./dist
3535
COPY --from=build /prod/schedules/package.json ./package.json
3636
COPY --from=build /prod/schedules/node_modules ./node_modules
3737

38-
CMD HOSTNAME=0.0.0.0 && pnpm start
38+
CMD HOSTNAME=0.0.0.0 && pnpm start

Dockerfile.server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ COPY --from=build /prod/api/dist ./dist
3535
COPY --from=build /prod/api/package.json ./package.json
3636
COPY --from=build /prod/api/node_modules ./node_modules
3737

38-
CMD HOSTNAME=0.0.0.0 && pnpm start
38+
CMD HOSTNAME=0.0.0.0 && pnpm start

apps/dokploy/__test__/drop/drop.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if (typeof window === "undefined") {
2525
}
2626

2727
const baseApp: ApplicationNested = {
28-
railpackVersion: "0.2.2",
28+
railpackVersion: "0.15.4",
2929
applicationId: "",
3030
previewLabels: [],
3131
createEnvFile: true,

apps/dokploy/__test__/traefik/traefik.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createRouterConfig } from "@dokploy/server";
33
import { expect, test } from "vitest";
44

55
const baseApp: ApplicationNested = {
6-
railpackVersion: "0.2.2",
6+
railpackVersion: "0.15.4",
77
rollbackActive: false,
88
applicationId: "",
99
previewLabels: [],

apps/dokploy/components/dashboard/application/build/show.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const mySchema = z.discriminatedUnion("buildType", [
6565
}),
6666
z.object({
6767
buildType: z.literal(BuildType.railpack),
68-
railpackVersion: z.string().nullable().default("0.2.2"),
68+
railpackVersion: z.string().nullable().default("0.15.4"),
6969
}),
7070
z.object({
7171
buildType: z.literal(BuildType.static),
@@ -186,7 +186,7 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
186186
data.buildType === BuildType.static ? data.isStaticSpa : null,
187187
railpackVersion:
188188
data.buildType === BuildType.railpack
189-
? data.railpackVersion || "0.2.2"
189+
? data.railpackVersion || "0.15.4"
190190
: null,
191191
})
192192
.then(async () => {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "application" ALTER COLUMN "railpackVersion" SET DEFAULT '0.15.4';

0 commit comments

Comments
 (0)