Skip to content

Support for Windows Environment. #11

@leandroandrade-hotmart

Description

@leandroandrade-hotmart

Hello, i'm trying build a image for execute in a cluster with Windows pods and i wanna know if it's possible to generate a image for this purpose.

I created a image with the code below, but don't work :(

FROM mcr.microsoft.com/windows/servercore:ltsc2019

# Metadata indicating an image maintainer.

ENV ENV_HOME 'C:'
ENV INSTALL_HOME $ENV_HOME'\install'

# Copy Files to Install
COPY ./fluentbit-kinesis-windows/* /install/
WORKDIR /install

RUN powershell -Command "Expand-Archive -Path ./td-agent-bit-1.3.6-win64.zip -DestinationPath . "

EXPOSE 2020 

ENTRYPOINT ["cmd", "/k", "td-agent-bit-1.3.6-win64\\bin\fluent-bit.exe", "-e", "./amazon-kinesis-streams-for-fluent-bit.exe", "-c", "$Env:INSTALL_HOME\\fluent-bit.conf"]

My pods is based in a mcr.microsoft.com/windows/servercore:ltsc2019

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions