Skip to content

Commit 9eb6333

Browse files
committed
chore: build without cache
This fixes issues that occur if you have run the build command yourself separately for the same file but with a different image name (such as `local` which was previously used)
1 parent 22fdb94 commit 9eb6333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cargo-msfs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ await $`docker ps`.quiet().catch(() => {
7171
await $`docker image inspect ${IMAGE_NAME}:latest`.quiet().catch(async () => {
7272
const dockerfilePath = resolve(workspaceRoot, "Dockerfile");
7373
console.info(`[*] Building '${IMAGE_NAME}' image from ${dockerfilePath}`);
74-
await $`docker build -t ${IMAGE_NAME} -f ${dockerfilePath} .`;
74+
await $`docker build --no-cache -t ${IMAGE_NAME} -f ${dockerfilePath} .`;
7575
});
7676

7777
// Ensure SDKs are up to date, rebuilding if needed

0 commit comments

Comments
 (0)