-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add versions 3.9.29, 3.10.25, 3.11.20, 3.12.2 (#5)
* add more versions * upgrade ci actions
- Loading branch information
Showing
7 changed files
with
250 additions
and
24 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
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,37 @@ | ||
# ltsc2019 or ltsc2022 | ||
ARG SERVER_VERSION='ltsc2022' | ||
FROM mcr.microsoft.com/windows/servercore:${SERVER_VERSION} | ||
|
||
LABEL Description="RabbitMQ" Vendor="Pivotal" Version="3.10.25" | ||
|
||
# ERLANG_HOME: erlang will install to this location and rabbitmq will use this environment variable to locate it | ||
# RABBITMQ_VERSION: rabbitmq version used in download url and to rename folder extracted from zip file | ||
# RABBITMQ_CONFIG_FILE: tell rabbitmq where to find our custom config file | ||
ENV ERLANG_HOME="c:\\erlang" \ | ||
RABBITMQ_VERSION="3.10.25" \ | ||
RABBITMQ_CONFIG_FILE="c:\\rabbitmq.conf" | ||
|
||
# setup powershell options for RUN commands | ||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
EXPOSE 5672 15672 | ||
|
||
# download and install erlang using silent install option, and remove installer when done | ||
# download and extract rabbitmq, and remove zip file when done | ||
# remove version from rabbitmq folder name | ||
RUN Invoke-WebRequest -Uri "https://github.com/erlang/otp/releases/download/OTP-25.3.2.5/otp_win64_25.3.2.5.exe" -OutFile "c:\\erlang_install.exe" ; \ | ||
Start-Process -Wait -FilePath "c:\\erlang_install.exe" -ArgumentList /S, /D=$env:ERLANG_HOME ; \ | ||
Remove-Item -Force -Path "C:\\erlang_install.exe" ; \ | ||
Invoke-WebRequest -Uri "https://github.com/rabbitmq/rabbitmq-server/releases/download/v$env:RABBITMQ_VERSION/rabbitmq-server-windows-$env:RABBITMQ_VERSION.zip" -OutFile "c:\\rabbitmq.zip" ; \ | ||
Expand-Archive -Path "c:\\rabbitmq.zip" -DestinationPath "c:\\" ; \ | ||
Remove-Item -Force -Path "c:\\rabbitmq.zip" ; \ | ||
Rename-Item -Path "c:\\rabbitmq_server-$env:rabbitmq_version" -NewName "c:\\rabbitmq" | ||
|
||
# create config file | ||
RUN ["cmd", "/C", "echo loopback_users = none> c:\\rabbitmq.conf"] | ||
|
||
# enable managment plugin | ||
RUN c:\rabbitmq\sbin\rabbitmq-plugins.bat enable rabbitmq_management --offline | ||
|
||
# run server when container starts - container will shutdown when this process ends | ||
CMD c:\rabbitmq\sbin\rabbitmq-server.bat |
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,37 @@ | ||
# ltsc2019 or ltsc2022 | ||
ARG SERVER_VERSION='ltsc2022' | ||
FROM mcr.microsoft.com/windows/servercore:${SERVER_VERSION} | ||
|
||
LABEL Description="RabbitMQ" Vendor="Pivotal" Version="3.11.20" | ||
|
||
# ERLANG_HOME: erlang will install to this location and rabbitmq will use this environment variable to locate it | ||
# RABBITMQ_VERSION: rabbitmq version used in download url and to rename folder extracted from zip file | ||
# RABBITMQ_CONFIG_FILE: tell rabbitmq where to find our custom config file | ||
ENV ERLANG_HOME="c:\\erlang" \ | ||
RABBITMQ_VERSION="3.11.20" \ | ||
RABBITMQ_CONFIG_FILE="c:\\rabbitmq.conf" | ||
|
||
# setup powershell options for RUN commands | ||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
EXPOSE 5672 15672 | ||
|
||
# download and install erlang using silent install option, and remove installer when done | ||
# download and extract rabbitmq, and remove zip file when done | ||
# remove version from rabbitmq folder name | ||
RUN Invoke-WebRequest -Uri "https://github.com/erlang/otp/releases/download/OTP-25.3.2.5/otp_win64_25.3.2.5.exe" -OutFile "c:\\erlang_install.exe" ; \ | ||
Start-Process -Wait -FilePath "c:\\erlang_install.exe" -ArgumentList /S, /D=$env:ERLANG_HOME ; \ | ||
Remove-Item -Force -Path "C:\\erlang_install.exe" ; \ | ||
Invoke-WebRequest -Uri "https://github.com/rabbitmq/rabbitmq-server/releases/download/v$env:RABBITMQ_VERSION/rabbitmq-server-windows-$env:RABBITMQ_VERSION.zip" -OutFile "c:\\rabbitmq.zip" ; \ | ||
Expand-Archive -Path "c:\\rabbitmq.zip" -DestinationPath "c:\\" ; \ | ||
Remove-Item -Force -Path "c:\\rabbitmq.zip" ; \ | ||
Rename-Item -Path "c:\\rabbitmq_server-$env:rabbitmq_version" -NewName "c:\\rabbitmq" | ||
|
||
# create config file | ||
RUN ["cmd", "/C", "echo loopback_users = none> c:\\rabbitmq.conf"] | ||
|
||
# enable managment plugin | ||
RUN c:\rabbitmq\sbin\rabbitmq-plugins.bat enable rabbitmq_management --offline | ||
|
||
# run server when container starts - container will shutdown when this process ends | ||
CMD c:\rabbitmq\sbin\rabbitmq-server.bat |
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,37 @@ | ||
# ltsc2019 or ltsc2022 | ||
ARG SERVER_VERSION='ltsc2022' | ||
FROM mcr.microsoft.com/windows/servercore:${SERVER_VERSION} | ||
|
||
LABEL Description="RabbitMQ" Vendor="Pivotal" Version="3.12.2" | ||
|
||
# ERLANG_HOME: erlang will install to this location and rabbitmq will use this environment variable to locate it | ||
# RABBITMQ_VERSION: rabbitmq version used in download url and to rename folder extracted from zip file | ||
# RABBITMQ_CONFIG_FILE: tell rabbitmq where to find our custom config file | ||
ENV ERLANG_HOME="c:\\erlang" \ | ||
RABBITMQ_VERSION="3.12.2" \ | ||
RABBITMQ_CONFIG_FILE="c:\\rabbitmq.conf" | ||
|
||
# setup powershell options for RUN commands | ||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
EXPOSE 5672 15672 | ||
|
||
# download and install erlang using silent install option, and remove installer when done | ||
# download and extract rabbitmq, and remove zip file when done | ||
# remove version from rabbitmq folder name | ||
RUN Invoke-WebRequest -Uri "https://github.com/erlang/otp/releases/download/OTP-26.0.2/otp_win64_26.0.2.exe" -OutFile "c:\\erlang_install.exe" ; \ | ||
Start-Process -Wait -FilePath "c:\\erlang_install.exe" -ArgumentList /S, /D=$env:ERLANG_HOME ; \ | ||
Remove-Item -Force -Path "C:\\erlang_install.exe" ; \ | ||
Invoke-WebRequest -Uri "https://github.com/rabbitmq/rabbitmq-server/releases/download/v$env:RABBITMQ_VERSION/rabbitmq-server-windows-$env:RABBITMQ_VERSION.zip" -OutFile "c:\\rabbitmq.zip" ; \ | ||
Expand-Archive -Path "c:\\rabbitmq.zip" -DestinationPath "c:\\" ; \ | ||
Remove-Item -Force -Path "c:\\rabbitmq.zip" ; \ | ||
Rename-Item -Path "c:\\rabbitmq_server-$env:rabbitmq_version" -NewName "c:\\rabbitmq" | ||
|
||
# create config file | ||
RUN ["cmd", "/C", "echo loopback_users = none> c:\\rabbitmq.conf"] | ||
|
||
# enable managment plugin | ||
RUN c:\rabbitmq\sbin\rabbitmq-plugins.bat enable rabbitmq_management --offline | ||
|
||
# run server when container starts - container will shutdown when this process ends | ||
CMD c:\rabbitmq\sbin\rabbitmq-server.bat |
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,37 @@ | ||
# ltsc2019 or ltsc2022 | ||
ARG SERVER_VERSION='ltsc2022' | ||
FROM mcr.microsoft.com/windows/servercore:${SERVER_VERSION} | ||
|
||
LABEL Description="RabbitMQ" Vendor="Pivotal" Version="3.9.29" | ||
|
||
# ERLANG_HOME: erlang will install to this location and rabbitmq will use this environment variable to locate it | ||
# RABBITMQ_VERSION: rabbitmq version used in download url and to rename folder extracted from zip file | ||
# RABBITMQ_CONFIG_FILE: tell rabbitmq where to find our custom config file | ||
ENV ERLANG_HOME="c:\\erlang" \ | ||
RABBITMQ_VERSION="3.9.29" \ | ||
RABBITMQ_CONFIG_FILE="c:\\rabbitmq.conf" | ||
|
||
# setup powershell options for RUN commands | ||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] | ||
|
||
EXPOSE 5672 15672 | ||
|
||
# download and install erlang using silent install option, and remove installer when done | ||
# download and extract rabbitmq, and remove zip file when done | ||
# remove version from rabbitmq folder name | ||
RUN Invoke-WebRequest -Uri "https://github.com/erlang/otp/releases/download/OTP-25.2.3/otp_win64_25.2.3.exe" -OutFile "c:\\erlang_install.exe" ; \ | ||
Start-Process -Wait -FilePath "c:\\erlang_install.exe" -ArgumentList /S, /D=$env:ERLANG_HOME ; \ | ||
Remove-Item -Force -Path "C:\\erlang_install.exe" ; \ | ||
Invoke-WebRequest -Uri "https://github.com/rabbitmq/rabbitmq-server/releases/download/v$env:RABBITMQ_VERSION/rabbitmq-server-windows-$env:RABBITMQ_VERSION.zip" -OutFile "c:\\rabbitmq.zip" ; \ | ||
Expand-Archive -Path "c:\\rabbitmq.zip" -DestinationPath "c:\\" ; \ | ||
Remove-Item -Force -Path "c:\\rabbitmq.zip" ; \ | ||
Rename-Item -Path "c:\\rabbitmq_server-$env:rabbitmq_version" -NewName "c:\\rabbitmq" | ||
|
||
# create config file | ||
RUN ["cmd", "/C", "echo loopback_users = none> c:\\rabbitmq.conf"] | ||
|
||
# enable managment plugin | ||
RUN c:\rabbitmq\sbin\rabbitmq-plugins.bat enable rabbitmq_management --offline | ||
|
||
# run server when container starts - container will shutdown when this process ends | ||
CMD c:\rabbitmq\sbin\rabbitmq-server.bat |
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