Skip to content

Commit

Permalink
fix: docker runner needs the same C environment as builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashi committed Apr 17, 2022
1 parent 93c7150 commit b8cbf2e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ xmake config -y && \
xmake -j8

FROM ubuntu:20.04 AS skyrim

RUN apt update && \
apt install software-properties-common -y && \
add-apt-repository 'deb http://mirrors.kernel.org/ubuntu hirsute main universe' -y && \
apt update && apt upgrade -y && \
apt remove software-properties-common -y && \
apt autoremove -y

COPY --from=builder /home/server/build/linux/x64/release/SkyrimTogetherServer /home/server/SkyrimTogetherServer
WORKDIR /home/server
ENTRYPOINT ["SkyrimTogetherServer"]
ENTRYPOINT ["./SkyrimTogetherServer"]

EXPOSE 10578/udp

0 comments on commit b8cbf2e

Please sign in to comment.