Skip to content

Commit b2df8ed

Browse files
authored
Merge pull request #906 from herbie-fp/update-docker
Various edits to the Docker file suggested by Docker
2 parents ca28704 + ed34b5b commit b2df8ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
# Build image
66
# Builds output under /herbie/egg-herbie
7-
FROM rust:1.61.0 as egg-herbie-builder
7+
FROM --platform=linux/amd64 rust:1.61.0 AS egg-herbie-builder
88
WORKDIR /herbie
99
COPY egg-herbie egg-herbie
1010
RUN cargo build --release --manifest-path=egg-herbie/Cargo.toml
1111

1212
# Production image
13-
FROM racket/racket:8.13-full AS production
14-
MAINTAINER Pavel Panchekha <[email protected]>
13+
FROM --platform=linux/amd64 racket/racket:8.13-full AS production
14+
LABEL maintainer="Pavel Panchekha <[email protected]>"
1515
COPY --from=egg-herbie-builder /herbie/egg-herbie /src/egg-herbie
1616
RUN raco pkg install /src/egg-herbie
1717
COPY src /src/herbie

www/doc/2.1/docker.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h2>Building the Docker image</h2>
147147

148148
<pre class="shell">docker run -p 8000:80 -it uwplse/herbie:test</pre>
149149

150-
<p>The web demo should now be visiable at <code>http://localhost:8000</code>.</p>
150+
<p>The web demo should now be visible at <code>http://localhost:8000</code>.</p>
151151

152152
<p>To open a shell in a running container for testing, first get the container ID with:</p>
153153

0 commit comments

Comments
 (0)