Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dockerfiles #701

Open
wants to merge 6 commits into
base: core4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
; Top-most EditorConfig file
root = true

[*]
insert_final_newline = true
end_of_line = lf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All our line endings are set to platform native in git configuration.

Copy link
Contributor Author

@thatnerdjosh thatnerdjosh Jan 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok - the issue I was having is most files were checked in LF, but there were some files which were CRLF in the repo, which caused the branch to be dirty immediately on checkout. Do you have a solution for this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, they should be in LF in the repo, so committing the LF files is the correct fix for that. Just local storage should be in native.

See https://github.com/ryzom/ryzomcore/blob/core4/.gitattributes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those defective files might've been committed before the .gitattributes was cleaned up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing - I'll remove this editorconfig change then as it's not necessary


; 4-column tab indentation
[*.cpp]
indent_style = tab
Expand Down
2 changes: 1 addition & 1 deletion tool/quick_start/docker/ryzombuild_focal_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/amd64 ubuntu:focal
MAINTAINER Ryzom Core <https://wiki.ryzom.dev/>
LABEL org.opencontainers.image.authors="Ryzom Core <https://wiki.ryzom.dev/>"

RUN sed -i -e 's/archive\.ubuntu\.com/mirrors\.digitalocean\.com/' /etc/apt/sources.list

Expand Down
10 changes: 7 additions & 3 deletions tool/quick_start/docker/ryzombuild_jammy_amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM --platform=linux/amd64 ubuntu:jammy
MAINTAINER Ryzom Core <https://wiki.ryzom.dev/>
LABEL org.opencontainers.image.authors="Ryzom Core <https://wiki.ryzom.dev/>"

RUN sed -i -e 's/archive\.ubuntu\.com/mirrors\.digitalocean\.com/' /etc/apt/sources.list

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
software-properties-common aria2 wget \
&& aria2c https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb \
&& aria2c https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& rm packages-microsoft-prod.deb \
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
cmake ninja-build curl build-essential ccache \
ninja-build curl build-essential ccache \
bison autoconf automake \
libpng-dev \
libjpeg-dev \
Expand All @@ -32,6 +32,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
&& mv msquic.h /usr/include/msquic.h \
&& mv msquic_posix.h /usr/include/msquic_posix.h \
&& mv quic_sal_stub.h /usr/include/quic_sal_stub.h \
&& wget --output-document=/tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.sh \
&& mkdir /opt/cmake \
&& sh /tmp/cmake.sh --skip-license --prefix=/opt/cmake \
&& ln --symbolic --force /opt/cmake/bin/cmake /usr/local/bin/cmake \
&& rm -rf /var/lib/apt/lists/*

ENV CC=/usr/lib/ccache/gcc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/amd64 steamrt_scout_amd64:latest
MAINTAINER Ryzom Core <https://wiki.ryzom.dev/>
LABEL org.opencontainers.image.authors="Ryzom Core <https://wiki.ryzom.dev/>"

RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90 \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/386 steamrt_scout_i386:latest
MAINTAINER Ryzom Core <https://wiki.ryzom.dev/>
LABEL org.opencontainers.image.authors="Ryzom Core <https://wiki.ryzom.dev/>"

RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90 \
Expand Down
212 changes: 106 additions & 106 deletions web/docs/admin/shard_restart/H38.css
Original file line number Diff line number Diff line change
@@ -1,106 +1,106 @@
BODY {background:#FFFFFF}
.menuItem {
font-family:sans-serif; font-size:small;
width:220;padding-left:20;
background-color:menu;
color:black
}
.highlightItem {
font-family:sans-serif; font-size:small;
width:220; padding-left:20;
background-Color:highlight; color:white;
}
.navBar {
background-Color:buttonface;
}
.oldNavBar {
background-Color:black;
}
.pageView {
background-Color:white;
}
.propViewer {
background-Color:white;
color: black;
font-family: Verdana;
font-style: italic;
font-weight: bold;
font-size: medium;
text-align: center;
}
.propViewerTABLE {
background-Color: black;
font-weight: medium;
border-width: 1pt;
border-color: black;
}
.propViewerTHEAD {
background-Color: rgb(230,230,230);
color: black;
font-family: Verdana;
font-style: italic;
font-weight: medium;
font-size: small;
}
.propViewerHeaderSep {
background-Color: black;
height: 0pt;
}
.propViewerLines {
background-Color: black;
height: 2pt;
}
.propViewerTD {
font-family: Verdana;
color: black;
font-size: x-small;
font-style: normal;
align: center;
}
.propViewerEvenRow {
background-Color: rgb(253,254,238);
}
.propViewerOddRow {
background-Color: rgb(254,254,247);
}
.clTab {
cursor:hand;
background:buttonface;
font: 0.7em Arial;
padding-left:3px;
padding-right:3px;
text-align:center;
}
.clBorder {
background:windowframe;
font:1pt;
}
.clScroll {
font:8pt Courier New;
color:threeddarkshadow;
cursor:default;
line-height:10pt;
}
.clScroll2 {
font:10pt Arial;
color:threeddarkshadow;
cursor:default;
line-height:11pt;
}
BODY {background:#FFFFFF}

.menuItem {
font-family:sans-serif; font-size:small;
width:220;padding-left:20;
background-color:menu;
color:black
}

.highlightItem {
font-family:sans-serif; font-size:small;
width:220; padding-left:20;
background-Color:highlight; color:white;
}

.navBar {
background-Color:buttonface;
}

.oldNavBar {
background-Color:black;
}

.pageView {
background-Color:white;
}

.propViewer {
background-Color:white;
color: black;
font-family: Verdana;
font-style: italic;
font-weight: bold;
font-size: medium;
text-align: center;
}

.propViewerTABLE {
background-Color: black;
font-weight: medium;
border-width: 1pt;
border-color: black;
}

.propViewerTHEAD {
background-Color: rgb(230,230,230);
color: black;
font-family: Verdana;
font-style: italic;
font-weight: medium;
font-size: small;
}

.propViewerHeaderSep {
background-Color: black;
height: 0pt;
}

.propViewerLines {
background-Color: black;
height: 2pt;
}

.propViewerTD {
font-family: Verdana;
color: black;
font-size: x-small;
font-style: normal;
align: center;
}

.propViewerEvenRow {
background-Color: rgb(253,254,238);
}

.propViewerOddRow {
background-Color: rgb(254,254,247);
}

.clTab {
cursor:hand;
background:buttonface;
font: 0.7em Arial;
padding-left:3px;
padding-right:3px;
text-align:center;
}

.clBorder {
background:windowframe;
font:1pt;
}

.clScroll {
font:8pt Courier New;
color:threeddarkshadow;
cursor:default;
line-height:10pt;
}

.clScroll2 {
font:10pt Arial;
color:threeddarkshadow;
cursor:default;
line-height:11pt;
}
Loading