Merge pull request #3290 from amirhmoradi/claude/update-dockerfile-deps-WD7Lw

feat: Update build dependencies to their latest versions
This commit is contained in:
Mauricio Siu
2026-01-12 09:05:34 -06:00
committed by GitHub
17 changed files with 6998 additions and 22 deletions
+3 -3
View File
@@ -24,14 +24,14 @@ jobs:
- name: Install Nixpacks - name: Install Nixpacks
if: matrix.job == 'test' if: matrix.job == 'test'
run: | run: |
export NIXPACKS_VERSION=1.39.0 export NIXPACKS_VERSION=1.41.0
curl -sSL https://nixpacks.com/install.sh | bash curl -sSL https://nixpacks.com/install.sh | bash
echo "Nixpacks installed $NIXPACKS_VERSION" echo "Nixpacks installed $NIXPACKS_VERSION"
- name: Install Railpack - name: Install Railpack
if: matrix.job == 'test' if: matrix.job == 'test'
run: | run: |
export RAILPACK_VERSION=0.15.0 export RAILPACK_VERSION=0.15.4
curl -sSL https://railpack.com/install.sh | bash curl -sSL https://railpack.com/install.sh | bash
echo "Railpack installed $RAILPACK_VERSION" echo "Railpack installed $RAILPACK_VERSION"
+1 -1
View File
@@ -148,7 +148,7 @@ curl -sSL https://railpack.com/install.sh | sh
```bash ```bash
# Install Buildpacks # Install Buildpacks
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 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
``` ```
## Pull Request ## Pull Request
+3 -3
View File
@@ -51,18 +51,18 @@ RUN curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh --ver
# Install Nixpacks and tsx # Install Nixpacks and tsx
# | VERBOSE=1 VERSION=1.21.0 bash # | VERBOSE=1 VERSION=1.21.0 bash
ARG NIXPACKS_VERSION=1.39.0 ARG NIXPACKS_VERSION=1.41.0
RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \ RUN curl -sSL https://nixpacks.com/install.sh -o install.sh \
&& chmod +x install.sh \ && chmod +x install.sh \
&& ./install.sh \ && ./install.sh \
&& pnpm install -g tsx && pnpm install -g tsx
# Install Railpack # Install Railpack
ARG RAILPACK_VERSION=0.2.2 ARG RAILPACK_VERSION=0.15.4
RUN curl -sSL https://railpack.com/install.sh | bash RUN curl -sSL https://railpack.com/install.sh | bash
# Install buildpacks # Install buildpacks
COPY --from=buildpacksio/pack:0.35.0 /usr/local/bin/pack /usr/local/bin/pack COPY --from=buildpacksio/pack:0.39.1 /usr/local/bin/pack /usr/local/bin/pack
EXPOSE 3000 EXPOSE 3000
CMD [ "pnpm", "start" ] CMD [ "pnpm", "start" ]
+1 -1
View File
@@ -60,4 +60,4 @@ RUN curl https://rclone.org/install.sh | bash
RUN pnpm install -g tsx RUN pnpm install -g tsx
EXPOSE 3000 EXPOSE 3000
CMD [ "pnpm", "start" ] CMD [ "pnpm", "start" ]
+1 -1
View File
@@ -35,4 +35,4 @@ COPY --from=build /prod/schedules/dist ./dist
COPY --from=build /prod/schedules/package.json ./package.json COPY --from=build /prod/schedules/package.json ./package.json
COPY --from=build /prod/schedules/node_modules ./node_modules COPY --from=build /prod/schedules/node_modules ./node_modules
CMD HOSTNAME=0.0.0.0 && pnpm start CMD HOSTNAME=0.0.0.0 && pnpm start
+1 -1
View File
@@ -35,4 +35,4 @@ COPY --from=build /prod/api/dist ./dist
COPY --from=build /prod/api/package.json ./package.json COPY --from=build /prod/api/package.json ./package.json
COPY --from=build /prod/api/node_modules ./node_modules COPY --from=build /prod/api/node_modules ./node_modules
CMD HOSTNAME=0.0.0.0 && pnpm start CMD HOSTNAME=0.0.0.0 && pnpm start
+1 -1
View File
@@ -25,7 +25,7 @@ if (typeof window === "undefined") {
} }
const baseApp: ApplicationNested = { const baseApp: ApplicationNested = {
railpackVersion: "0.2.2", railpackVersion: "0.15.4",
applicationId: "", applicationId: "",
previewLabels: [], previewLabels: [],
createEnvFile: true, createEnvFile: true,
@@ -3,7 +3,7 @@ import { createRouterConfig } from "@dokploy/server";
import { expect, test } from "vitest"; import { expect, test } from "vitest";
const baseApp: ApplicationNested = { const baseApp: ApplicationNested = {
railpackVersion: "0.2.2", railpackVersion: "0.15.4",
rollbackActive: false, rollbackActive: false,
applicationId: "", applicationId: "",
previewLabels: [], previewLabels: [],
@@ -65,7 +65,7 @@ const mySchema = z.discriminatedUnion("buildType", [
}), }),
z.object({ z.object({
buildType: z.literal(BuildType.railpack), buildType: z.literal(BuildType.railpack),
railpackVersion: z.string().nullable().default("0.2.2"), railpackVersion: z.string().nullable().default("0.15.4"),
}), }),
z.object({ z.object({
buildType: z.literal(BuildType.static), buildType: z.literal(BuildType.static),
@@ -186,7 +186,7 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
data.buildType === BuildType.static ? data.isStaticSpa : null, data.buildType === BuildType.static ? data.isStaticSpa : null,
railpackVersion: railpackVersion:
data.buildType === BuildType.railpack data.buildType === BuildType.railpack
? data.railpackVersion || "0.2.2" ? data.railpackVersion || "0.15.4"
: null, : null,
}) })
.then(async () => { .then(async () => {
@@ -0,0 +1 @@
ALTER TABLE "application" ALTER COLUMN "railpackVersion" SET DEFAULT '0.15.4';
File diff suppressed because it is too large Load Diff
+7
View File
@@ -939,6 +939,13 @@
"when": 1766301478005, "when": 1766301478005,
"tag": "0133_striped_the_order", "tag": "0133_striped_the_order",
"breakpoints": true "breakpoints": true
},
{
"idx": 134,
"version": "7",
"when": 1767871040249,
"tag": "0134_strong_hercules",
"breakpoints": true
} }
] ]
} }
+1 -1
View File
@@ -111,4 +111,4 @@
"node": "^20.16.0", "node": "^20.16.0",
"pnpm": ">=9.12.0" "pnpm": ">=9.12.0"
} }
} }
+1 -1
View File
@@ -277,7 +277,7 @@ table application {
replicas integer [not null, default: 1] replicas integer [not null, default: 1]
applicationStatus applicationStatus [not null, default: 'idle'] applicationStatus applicationStatus [not null, default: 'idle']
buildType buildType [not null, default: 'nixpacks'] buildType buildType [not null, default: 'nixpacks']
railpackVersion text [default: '0.2.2'] railpackVersion text [default: '0.15.4']
herokuVersion text [default: '24'] herokuVersion text [default: '24']
publishDirectory text publishDirectory text
isStaticSpa boolean isStaticSpa boolean
+1 -1
View File
@@ -177,7 +177,7 @@ export const applications = pgTable("application", {
.notNull() .notNull()
.default("idle"), .default("idle"),
buildType: buildType("buildType").notNull().default("nixpacks"), buildType: buildType("buildType").notNull().default("nixpacks"),
railpackVersion: text("railpackVersion").default("0.2.2"), railpackVersion: text("railpackVersion").default("0.15.4"),
herokuVersion: text("herokuVersion").default("24"), herokuVersion: text("herokuVersion").default("24"),
publishDirectory: text("publishDirectory"), publishDirectory: text("publishDirectory"),
isStaticSpa: boolean("isStaticSpa"), isStaticSpa: boolean("isStaticSpa"),
+4 -4
View File
@@ -629,7 +629,7 @@ const installNixpacks = () => `
if command_exists nixpacks; then if command_exists nixpacks; then
echo "Nixpacks already installed ✅" echo "Nixpacks already installed ✅"
else else
export NIXPACKS_VERSION=1.39.0 export NIXPACKS_VERSION=1.41.0
bash -c "$(curl -fsSL https://nixpacks.com/install.sh)" bash -c "$(curl -fsSL https://nixpacks.com/install.sh)"
echo "Nixpacks version $NIXPACKS_VERSION installed ✅" echo "Nixpacks version $NIXPACKS_VERSION installed ✅"
fi fi
@@ -639,7 +639,7 @@ const installRailpack = () => `
if command_exists railpack; then if command_exists railpack; then
echo "Railpack already installed ✅" echo "Railpack already installed ✅"
else else
export RAILPACK_VERSION=0.2.2 export RAILPACK_VERSION=0.15.4
bash -c "$(curl -fsSL https://railpack.com/install.sh)" bash -c "$(curl -fsSL https://railpack.com/install.sh)"
echo "Railpack version $RAILPACK_VERSION installed ✅" echo "Railpack version $RAILPACK_VERSION installed ✅"
fi fi
@@ -653,8 +653,8 @@ const installBuildpacks = () => `
if command_exists pack; then if command_exists pack; then
echo "Buildpacks already installed ✅" echo "Buildpacks already installed ✅"
else else
BUILDPACKS_VERSION=0.35.0 BUILDPACKS_VERSION=0.39.1
curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.35.0/pack-v$BUILDPACKS_VERSION-linux$SUFFIX.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v$BUILDPACKS_VERSION-linux$SUFFIX.tgz" | tar -C /usr/local/bin/ --no-same-owner -xzv pack
echo "Buildpacks version $BUILDPACKS_VERSION installed ✅" echo "Buildpacks version $BUILDPACKS_VERSION installed ✅"
fi fi
`; `;
+1 -1
View File
@@ -276,7 +276,7 @@ table application {
replicas integer [not null, default: 1] replicas integer [not null, default: 1]
applicationStatus applicationStatus [not null, default: 'idle'] applicationStatus applicationStatus [not null, default: 'idle']
buildType buildType [not null, default: 'nixpacks'] buildType buildType [not null, default: 'nixpacks']
railpackVersion text [default: '0.2.2'] railpackVersion text [default: '0.15.4']
herokuVersion text [default: '24'] herokuVersion text [default: '24']
publishDirectory text publishDirectory text
isStaticSpa boolean isStaticSpa boolean