diff --git a/.github/workflows/ci-windows-2019.yaml b/.github/workflows/ci-windows-2019.yaml index e956d4a..be655dc 100644 --- a/.github/workflows/ci-windows-2019.yaml +++ b/.github/workflows/ci-windows-2019.yaml @@ -15,8 +15,8 @@ on: - .github/workflows/ci-windows-latest.yaml jobs: - # TO-DO: Could simplify steps further, but probably in next iteration - # For now a quick approach + # TO-DO: Could simplify steps further, but probably in next iteration + # For now a quick approach build-docker-ltsc2019: runs-on: windows-2019 steps: @@ -29,19 +29,39 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - # Build and Push 3.11.2 + # Build and Push 3.12.2 (latest) + - name: Build the Docker image 3.12.2 + run: | + docker build . --file ./rabbitmq/windows/3.12.2/Dockerfile --tag micdenny/rabbitmq-windows:ltsc2019-latest --build-arg SERVER_VERSION=ltsc2019 + - name: Publish to DockerHub 3.12.2 + run: | + docker tag micdenny/rabbitmq-windows:ltsc2019-latest micdenny/rabbitmq-windows:3.12.2-ltsc2019 + docker tag micdenny/rabbitmq-windows:ltsc2019-latest micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2019 + docker push micdenny/rabbitmq-windows:ltsc2019-latest + docker push micdenny/rabbitmq-windows:3.12.2-ltsc2019 + docker push micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2019 + + # Build and Push 3.11.20 + - name: Build the Docker image 3.11.20 + run: | + docker build . --file ./rabbitmq/windows/3.11.20/Dockerfile --tag micdenny/rabbitmq-windows:3.11.20-ltsc2019 --build-arg SERVER_VERSION=ltsc2019 + - name: Publish to DockerHub 3.11.20 + run: | + docker tag micdenny/rabbitmq-windows:3.11.20-ltsc2019 micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2019 + docker push micdenny/rabbitmq-windows:3.11.20-ltsc2019 + docker push micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2019 + + # Build and Push 3.11.2 - name: Build the Docker image 3.11.2 run: | - docker build . --file ./rabbitmq/windows/3.11.2/Dockerfile --tag micdenny/rabbitmq-windows:ltsc2019-latest --build-arg SERVER_VERSION=ltsc2019 + docker build . --file ./rabbitmq/windows/3.11.2/Dockerfile --tag micdenny/rabbitmq-windows:3.11.2-ltsc2019 --build-arg SERVER_VERSION=ltsc2019 - name: Publish to DockerHub 3.11.2 run: | - docker tag micdenny/rabbitmq-windows:ltsc2019-latest micdenny/rabbitmq-windows:3.11.2-ltsc2019 - docker tag micdenny/rabbitmq-windows:ltsc2019-latest micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2019 - docker push micdenny/rabbitmq-windows:ltsc2019-latest + docker tag micdenny/rabbitmq-windows:3.11.2-ltsc2019 micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2019 docker push micdenny/rabbitmq-windows:3.11.2-ltsc2019 docker push micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2019 - # Build and Push 3.11.0 + # Build and Push 3.11.0 - name: Build the Docker image 3.11.0 run: | docker build . --file ./rabbitmq/windows/3.11.0/Dockerfile --tag micdenny/rabbitmq-windows:3.11.0-ltsc2019 --build-arg SERVER_VERSION=ltsc2019 @@ -50,6 +70,16 @@ jobs: docker tag micdenny/rabbitmq-windows:3.11.0-ltsc2019 micdenny/rabbitmq-windows:3.11.0-servercore-ltsc2019 docker push micdenny/rabbitmq-windows:3.11.0-ltsc2019 docker push micdenny/rabbitmq-windows:3.11.0-servercore-ltsc2019 + + # Build and Push 3.10.25 + - name: Build the Docker image 3.10.25 + run: | + docker build . --file ./rabbitmq/windows/3.10.25/Dockerfile --tag micdenny/rabbitmq-windows:3.10.25-ltsc2019 --build-arg SERVER_VERSION=ltsc2019 + - name: Publish to DockerHub 3.10.25 + run: | + docker tag micdenny/rabbitmq-windows:3.10.25-ltsc2019 micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2019 + docker push micdenny/rabbitmq-windows:3.10.25-ltsc2019 + docker push micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2019 # Build and Push 3.10.7 - name: Build the Docker image 3.10.7 @@ -70,7 +100,16 @@ jobs: docker tag micdenny/rabbitmq-windows:3.9.24-ltsc2019 micdenny/rabbitmq-windows:3.9.24-servercore-ltsc2019 docker push micdenny/rabbitmq-windows:3.9.24-ltsc2019 docker push micdenny/rabbitmq-windows:3.9.24-servercore-ltsc2019 - + + # Build and Push 3.9.29 + - name: Build the Docker image 3.9.29 + run: | + docker build . --file ./rabbitmq/windows/3.9.29/Dockerfile --tag micdenny/rabbitmq-windows:3.9.29-ltsc2019 --build-arg SERVER_VERSION=ltsc2019 + - name: Publish to DockerHub 3.9.29 + run: | + docker tag micdenny/rabbitmq-windows:3.9.29-ltsc2019 micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2019 + docker push micdenny/rabbitmq-windows:3.9.29-ltsc2019 + docker push micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2019 # Build and Push 3.9.22 - name: Build the Docker image 3.9.22 diff --git a/.github/workflows/ci-windows-latest.yaml b/.github/workflows/ci-windows-latest.yaml index 404b522..ffb529f 100644 --- a/.github/workflows/ci-windows-latest.yaml +++ b/.github/workflows/ci-windows-latest.yaml @@ -1,6 +1,7 @@ ####################################################### # CI Build pipeline YAML for Windows 2022 based builds ####################################################### + name: ci-windows-latest on: @@ -14,9 +15,8 @@ on: - .github/workflows/ci-windows-latest.yaml jobs: - - # TO-DO: Could simplify steps further, but probably in next iteration - # For now a quick approach + # TO-DO: Could simplify steps further, but probably in next iteration + # For now a quick approach build-docker-ltsc2022: runs-on: windows-2022 steps: @@ -28,23 +28,42 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - # Build and Push 3.11.2 - - name: Build the Docker image 3.11.2 + # Build and Push 3.12.2 (latest) + - name: Build the Docker image 3.12.2 run: | - docker build . --file ./rabbitmq/windows/3.11.2/Dockerfile --tag micdenny/rabbitmq-windows:latest --build-arg SERVER_VERSION=ltsc2022 - - name: Publish to DockerHub 3.11.2 + docker build . --file ./rabbitmq/windows/3.12.2/Dockerfile --tag micdenny/rabbitmq-windows:latest --build-arg SERVER_VERSION=ltsc2022 + - name: Publish to DockerHub 3.12.2 run: | - docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.11.2 + docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.12.2 docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:ltsc2022-latest - docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2022 + docker tag micdenny/rabbitmq-windows:latest micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2022 docker push micdenny/rabbitmq-windows:latest docker push micdenny/rabbitmq-windows:ltsc2022-latest + docker push micdenny/rabbitmq-windows:3.12.2 + docker push micdenny/rabbitmq-windows:3.12.2-servercore-ltsc2022 + + # Build and Push 3.11.20 + - name: Build the Docker image 3.11.20 + run: | + docker build . --file ./rabbitmq/windows/3.11.20/Dockerfile --tag micdenny/rabbitmq-windows:3.11.20 --build-arg SERVER_VERSION=ltsc2022 + - name: Publish to DockerHub 3.11.20 + run: | + docker tag micdenny/rabbitmq-windows:3.11.20 micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2022 + docker push micdenny/rabbitmq-windows:3.11.20 + docker push micdenny/rabbitmq-windows:3.11.20-servercore-ltsc2022 + + # Build and Push 3.11.2 + - name: Build the Docker image 3.11.2 + run: | + docker build . --file ./rabbitmq/windows/3.11.2/Dockerfile --tag micdenny/rabbitmq-windows:3.11.2 --build-arg SERVER_VERSION=ltsc2022 + - name: Publish to DockerHub 3.11.2 + run: | + docker tag micdenny/rabbitmq-windows:3.11.2 micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2022 docker push micdenny/rabbitmq-windows:3.11.2 docker push micdenny/rabbitmq-windows:3.11.2-servercore-ltsc2022 - # Build and Push 3.11.0 + # Build and Push 3.11.0 - name: Build the Docker image 3.11.0 run: | docker build . --file ./rabbitmq/windows/3.11.0/Dockerfile --tag micdenny/rabbitmq-windows:3.11.0 --build-arg SERVER_VERSION=ltsc2022 @@ -54,6 +73,16 @@ jobs: docker push micdenny/rabbitmq-windows:3.11.0 docker push micdenny/rabbitmq-windows:3.11.0-servercore-ltsc2022 + # Build and Push 3.10.25 + - name: Build the Docker image 3.10.25 + run: | + docker build . --file ./rabbitmq/windows/3.10.25/Dockerfile --tag micdenny/rabbitmq-windows:3.10.25 --build-arg SERVER_VERSION=ltsc2022 + - name: Publish to DockerHub 3.10.25 + run: | + docker tag micdenny/rabbitmq-windows:3.10.25 micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2022 + docker push micdenny/rabbitmq-windows:3.10.25 + docker push micdenny/rabbitmq-windows:3.10.25-servercore-ltsc2022 + # Build and Push 3.10.10 - name: Build the Docker image 3.10.10 run: | @@ -74,6 +103,16 @@ jobs: docker push micdenny/rabbitmq-windows:3.10.7 docker push micdenny/rabbitmq-windows:3.10.7-servercore-ltsc2022 + # Build and Push 3.9.29 + - name: Build the Docker image 3.9.29 + run: | + docker build . --file ./rabbitmq/windows/3.9.29/Dockerfile --tag micdenny/rabbitmq-windows:3.9.29 --build-arg SERVER_VERSION=ltsc2022 + - name: Publish to DockerHub 3.9.29 + run: | + docker tag micdenny/rabbitmq-windows:3.9.29 micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2022 + docker push micdenny/rabbitmq-windows:3.9.29 + docker push micdenny/rabbitmq-windows:3.9.29-servercore-ltsc2022 + # Build and Push 3.9.24 - name: Build the Docker image 3.9.24 run: | diff --git a/rabbitmq/windows/3.10.25/Dockerfile b/rabbitmq/windows/3.10.25/Dockerfile new file mode 100644 index 0000000..9d32366 --- /dev/null +++ b/rabbitmq/windows/3.10.25/Dockerfile @@ -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 \ No newline at end of file diff --git a/rabbitmq/windows/3.11.20/Dockerfile b/rabbitmq/windows/3.11.20/Dockerfile new file mode 100644 index 0000000..c4bd3e7 --- /dev/null +++ b/rabbitmq/windows/3.11.20/Dockerfile @@ -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 \ No newline at end of file diff --git a/rabbitmq/windows/3.12.2/Dockerfile b/rabbitmq/windows/3.12.2/Dockerfile new file mode 100644 index 0000000..19d51c5 --- /dev/null +++ b/rabbitmq/windows/3.12.2/Dockerfile @@ -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 \ No newline at end of file diff --git a/rabbitmq/windows/3.9.29/Dockerfile b/rabbitmq/windows/3.9.29/Dockerfile new file mode 100644 index 0000000..e4d913e --- /dev/null +++ b/rabbitmq/windows/3.9.29/Dockerfile @@ -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 \ No newline at end of file diff --git a/rabbitmq/windows/latest/Dockerfile b/rabbitmq/windows/latest/Dockerfile index abd0f10..19d51c5 100644 --- a/rabbitmq/windows/latest/Dockerfile +++ b/rabbitmq/windows/latest/Dockerfile @@ -2,13 +2,13 @@ ARG SERVER_VERSION='ltsc2022' FROM mcr.microsoft.com/windows/servercore:${SERVER_VERSION} -LABEL Description="RabbitMQ" Vendor="Pivotal" Version="3.11.2" +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.11.2" \ + RABBITMQ_VERSION="3.12.2" \ RABBITMQ_CONFIG_FILE="c:\\rabbitmq.conf" # setup powershell options for RUN commands @@ -19,7 +19,7 @@ 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://erlang.org/download/otp_win64_25.1.1.exe" -OutFile "c:\\erlang_install.exe" ; \ +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" ; \ @@ -34,4 +34,4 @@ RUN ["cmd", "/C", "echo loopback_users = none> c:\\rabbitmq.conf"] 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 +CMD c:\rabbitmq\sbin\rabbitmq-server.bat \ No newline at end of file