Problem configuring ambient to run already existing java web application

109
April 25, 2019, at 11:30 PM

So, I have a Java Web application with the following file configuration: Project files

As you can see it involves node / gulp / bower / npm / docker, etc. It was builded to run on linux and the configuration was obtained by running a Dockerfile:

FROM williamyeh/java8
RUN apt-get update
RUN apt-get install -y sudo
RUN apt-get install -y maven
RUN apt-get install -y curl
RUN apt-get install -y git
RUN curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
RUN apt-get install -y nodejs
RUN npm install -g bower
RUN npm install -g gulp-cli
RUN mkdir -p /home/docker/.m2
RUN mkdir -p /home/docker/code
RUN useradd docker
RUN echo "docker:docker" | chpasswd
RUN echo "docker ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
RUN chown -R docker. /home/docker
USER docker
WORKDIR /home/docker/code
CMD ["mvn", "clean", "spring-boot:run"]

And then I run the application using docker. With docker build, docker run and then docker start.

Now comes the problems. Nowdays my machine has only Windows7. My down arrow key on my keyboard is phisically broken and I can't use it to navigate on BIOS, to set the boot priority to CD/DVD neither to change the BIOS Legacy/Dual Boot/UEFI options, so dual boot is impossible. Also tried to plug USB keyboard without success. So my options are running this application on a VM (with I'm using as last option cause it runs sooo slow..) or configure my Windows to run it (and this is where I need help). I never installed these packages manually, always just run the Dockerfile that was given to me from a guy that worked before me on this project. So it's possible to configure this ambient on Windows? How can I run this Dockerfile? (WSL is not an option as I have Windows7) How can I install all this manually and then build and run with Docker?

Thanks for any help or clarification!

READ ALSO
How to render a list without a render engine in javascript?

How to render a list without a render engine in javascript?

No render engine, no framework other than express

136
Bot that change twitter profile picture

Bot that change twitter profile picture

Hey there I'd like to code a bot with nodejs to change a profile picture

143
Req.id becomes unavailable after making code updates

Req.id becomes unavailable after making code updates

I'm not sure if this is a cookie issue or something else

130
How Can I Match My Different User Groups in NodeJS?

How Can I Match My Different User Groups in NodeJS?

I am a rookie nodejs developer trying to match my different user groups by cascading and triggering different events automatically when a user initiates the process

159