Skip to content

Commit 82d29f9

Browse files
authored
Use Ubuntu 20.04 LTS (#15)
Ubuntu 19.10 gave the following error: ``` Step 22/26 : RUN apt-get update && apt-get install --assume-yes ca-certificates ---> Running in ac9cf9f8e189 Ign:1 http://archive.ubuntu.com/ubuntu eoan InRelease Ign:2 http://archive.ubuntu.com/ubuntu eoan-updates InRelease Ign:3 http://archive.ubuntu.com/ubuntu eoan-backports InRelease Err:4 http://archive.ubuntu.com/ubuntu eoan Release 404 Not Found [IP: 91.189.88.142 80] Err:5 http://archive.ubuntu.com/ubuntu eoan-updates Release 404 Not Found [IP: 91.189.88.142 80] Err:6 http://archive.ubuntu.com/ubuntu eoan-backports Release 404 Not Found [IP: 91.189.88.142 80] Ign:7 http://security.ubuntu.com/ubuntu eoan-security InRelease Err:8 http://security.ubuntu.com/ubuntu eoan-security Release 404 Not Found [IP: 91.189.91.39 80] Reading package lists... E: The repository 'http://archive.ubuntu.com/ubuntu eoan Release' does not have a Release file. E: The repository 'http://archive.ubuntu.com/ubuntu eoan-updates Release' does not have a Release file. E: The repository 'http://archive.ubuntu.com/ubuntu eoan-backports Release' does not have a Release file. E: The repository 'http://security.ubuntu.com/ubuntu eoan-security Release' does not have a Release file. The command '/bin/sh -c apt-get update && apt-get install --assume-yes ca-certificates' returned a non-zero code: 100 ```
1 parent caea762 commit 82d29f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ COPY --from=web-compiler /app/dist/ /app/dist
2020
RUN touch /app/dist/*
2121
RUN cargo build --release
2222

23-
FROM ubuntu:19.10
23+
FROM ubuntu:20.04
2424
RUN apt-get update && apt-get install --assume-yes ca-certificates
2525
COPY --from=server-compiler /app/server/target/release/server /server
2626
ENTRYPOINT ["/server", "0.0.0.0:3000"]
2727
CMD ["portal.skyscapecloud.com"]
28-
EXPOSE 3000
28+
EXPOSE 3000

0 commit comments

Comments
 (0)