Skip to content

Commit 68b5a78

Browse files
authored
Change Docker image name and use --no-cache (#127)
* Change Docker image name and use --no-cache
1 parent 62f8490 commit 68b5a78

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎docker/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/saethlin/crates-build-env:latest
1+
FROM crates-build-env:latest
22

33
ENV PATH=/root/.cargo/bin:$PATH
44

‎src/run.rs‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,15 @@ pub async fn run(args: Args) -> Result<()> {
103103
"docker/Dockerfile"
104104
};
105105
let status = std::process::Command::new("docker")
106-
.args(["build", "-t", "crater-at-home", "-f", dockerfile, "docker/"])
106+
.args([
107+
"build",
108+
"--no-cache",
109+
"-t",
110+
"crater-at-home",
111+
"-f",
112+
dockerfile,
113+
"docker/",
114+
])
107115
.status()?;
108116
color_eyre::eyre::ensure!(status.success(), "docker image build failed!");
109117

0 commit comments

Comments
 (0)