Skip to content

Commit

Permalink
Merge pull request #309 from DreamEnderKing/dev
Browse files Browse the repository at this point in the history
style: 🔨 Change obsolete usage MAINTAINER to LABEL maintainer=""
  • Loading branch information
DragonAura authored May 7, 2024
2 parents 17b6664 + 2ca840e commit be82976
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dependency/Dockerfile/Dockerfile_base
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM python:3.9.16-bullseye
MAINTAINER eesast
LABEL maintainer="eesast"
WORKDIR /usr/local
RUN apt-get update && apt-get install --no-install-recommends -y gcc g++ make wget ca-certificates cmake autoconf automake libtool curl unzip git
RUN git clone -b v1.46.3 --depth 1 --shallow-submodules https://gitee.com/mirrors/grpc.git && wget -P . https://cloud.tsinghua.edu.cn/f/1f2713efd9e44255abd6/?dl=1 && mv 'index.html?dl=1' third_party.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion dependency/Dockerfile/Dockerfile_cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#FROM ubuntu:18.04
FROM eesast/thuai7_base:base
MAINTAINER eesast
LABEL maintainer="eesast"
WORKDIR /usr/local

COPY ./CAPI/cpp /usr/local/PlayerCode/CAPI/cpp
Expand Down
4 changes: 2 additions & 2 deletions dependency/Dockerfile/Dockerfile_run_client
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0.204-jammy-amd64 AS build
MAINTAINER eesast
LABEL maintainer="eesast"
WORKDIR /usr/local
COPY . .

FROM eesast/thuai7_base:base
MAINTAINER eesast
LABEL maintainer="eesast"
WORKDIR /usr/local
RUN mkdir /usr/local/team1 && mkdir /usr/local/team2 && mkdir /usr/local/playback
COPY ./dependency/shell/run.sh .
Expand Down
2 changes: 1 addition & 1 deletion dependency/Dockerfile/Dockerfile_run_server
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0.204-jammy-amd64 AS build
MAINTAINER eesast
LABEL maintainer="eesast"
WORKDIR /usr/local
COPY . .
RUN dotnet publish logic/Server/Server.csproj -c Release -o /usr/local/Server --self-contained true -r linux-x64
Expand Down
2 changes: 1 addition & 1 deletion installer/Data/MD5FileData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class TVersion
{
// 代码库版本
[JsonInclude]
public Version LibVersion = new Version(1, 0, 2, 0);
public Version LibVersion = new Version(1, 0, 2, 1);
// 选手代码模板版本
[JsonInclude]
public Version TemplateVersion = new Version(1, 0, 0, 3);
Expand Down
2 changes: 1 addition & 1 deletion logic/Server/ArgumentOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class DefaultArgumentOptions
public class ArgumentOptions
{
[Option("ip", Required = false, HelpText = "Server listening ip")]
public string ServerIP { get; set; } = "localhost";
public string ServerIP { get; set; } = "0.0.0.0";

[Option('p', "port", Required = true, HelpText = "Server listening port")]
public ushort ServerPort { get; set; } = 8888;
Expand Down

0 comments on commit be82976

Please sign in to comment.