-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Created v4 Host * Rebase complete * Enable v4 on script * Update dotnet * Updated Node * Updated Python * Updated v4 pipelines * Updated Builds, Release artifacts for v3 * Enabled Dotnet in Supported Langs * Commit script from linux * Fix dotnet. Update pipelines * Updated Perm on Script * Fixed Dir Typo * Target Dotnet Build * Removed Node Grpc Ext * Fixed python pipelines * Update artifact release * Remove v1 ext * Include unzip in v4 * Update release flow for v4 * Testing v3 release * Update release * Verified asset publish on release * Implement Bala's Review Co-authored-by: Cooper Link <[email protected]>
- Loading branch information
1 parent
fb9f07d
commit 485c0ef
Showing
31 changed files
with
499 additions
and
695 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
host/3.0/buster/amd64/dotnet/dotnet-inproc/dotnet-appservice.Dockerfile
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
host/3.0/buster/amd64/dotnet/dotnet-inproc/dotnet-composite.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM mcr.microsoft.com/dotnet/core/runtime-deps:3.1 | ||
ARG HOST_VERSION | ||
|
||
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ | ||
HOME=/home \ | ||
FUNCTIONS_WORKER_RUNTIME=dotnet \ | ||
DOTNET_USE_POLLING_FILE_WATCHER=true \ | ||
HOST_VERSION=${HOST_VERSION} | ||
|
||
COPY --from=runtime-image [ "/azure-functions-host", "/azure-functions-host" ] | ||
COPY --from=runtime-image [ "/FuncExtensionBundles", "/FuncExtensionBundles" ] | ||
|
||
EXPOSE 2222 80 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends gnupg wget unzip curl dialog openssh-server && \ | ||
# Add remote dotnet debugger | ||
curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v vs2017u5 -l /root/vsdbg && \ | ||
echo "root:Docker!" | chpasswd | ||
|
||
# Chrome headless dependencies | ||
# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix | ||
RUN apt-get install -y xvfb gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 \ | ||
libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 \ | ||
libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \ | ||
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 \ | ||
libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget | ||
|
||
COPY sshd_config /etc/ssh/ | ||
COPY start.sh /azure-functions-host/ | ||
|
||
RUN chmod +x /azure-functions-host/start.sh | ||
|
||
ENTRYPOINT ["/azure-functions-host/start.sh"] |
34 changes: 34 additions & 0 deletions
34
host/3.0/buster/amd64/dotnet/dotnet-isolated/dotnet-isolated-composite.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM mcr.microsoft.com/dotnet/runtime:5.0 | ||
ARG HOST_VERSION | ||
|
||
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ | ||
HOME=/home \ | ||
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated \ | ||
DOTNET_USE_POLLING_FILE_WATCHER=true \ | ||
HOST_VERSION=${HOST_VERSION} | ||
|
||
COPY --from=runtime-image [ "/azure-functions-host", "/azure-functions-host" ] | ||
COPY --from=runtime-image [ "/FuncExtensionBundles", "/FuncExtensionBundles" ] | ||
|
||
EXPOSE 2222 80 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends gnupg wget unzip curl dialog openssh-server && \ | ||
# Add remote dotnet debugger | ||
curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v vs2017u5 -l /root/vsdbg && \ | ||
echo "root:Docker!" | chpasswd | ||
|
||
# Chrome headless dependencies | ||
# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix | ||
RUN apt-get install -y xvfb gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 \ | ||
libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 \ | ||
libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 \ | ||
libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 \ | ||
libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget | ||
|
||
COPY sshd_config /etc/ssh/ | ||
COPY start.sh /azure-functions-host/ | ||
|
||
RUN chmod +x /azure-functions-host/start.sh | ||
|
||
ENTRYPOINT ["/azure-functions-host/start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This is ssh server systemwide configuration file. | ||
# | ||
# /etc/sshd_config | ||
|
||
Port SSH_PORT | ||
ListenAddress 0.0.0.0 | ||
LoginGraceTime 180 | ||
X11Forwarding yes | ||
Ciphers aes128-cbc,3des-cbc,aes256-cbc | ||
MACs hmac-sha1,hmac-sha1-96 | ||
StrictModes yes | ||
SyslogFacility DAEMON | ||
PasswordAuthentication yes | ||
PermitEmptyPasswords no | ||
PermitRootLogin yes |
Oops, something went wrong.