Skip to content

Commit

Permalink
Update prerequisites for Windows package
Browse files Browse the repository at this point in the history
It is helpful not to shoot yourself in the foot.
  • Loading branch information
kenhys committed Jun 22, 2020
1 parent 054286f commit 79b2762
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,23 @@ td-agent-builder is a new build system for [td-agent](http://docs.treasuredata.c

### For building Windows package (.msi)

* Windows OS (10 or 2019 are verified)
* Windows OS (10 Pro or 2019 are verified)
* [Docker Desktop for Windows](https://hub.docker.com/editions/community/docker-ce-desktop-windows)
* You need to switch to "Windows containers" before using it.
* [RubyInstaller](https://rubyinstaller.org/) 2.4 or later.
* You need to install MSYS2 development toolchain too.
* [Git for Windows](https://gitforwindows.org/)

After installed above software, you need to enable additional features from powershell (as admin).

```
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart
```

Then restart Windows.

## How to build .rpm package

```console
Expand Down

0 comments on commit 79b2762

Please sign in to comment.