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
########################################################## | |
### ### | |
### The build stage that compiles the exe file ### | |
### ### | |
########################################################## | |
FROM ubuntu:18.04 as build_stage | |
# Install wget | |
RUN apt-get update |
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
FROM ubuntu:18.04 | |
# Install wget | |
RUN apt-get update | |
RUN apt-get install -y wget | |
# Add 32-bit architecture | |
RUN dpkg --add-architecture i386 | |
RUN apt-get update |
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
FROM i386/ubuntu:18.04 | |
# Install wget | |
RUN apt-get update | |
RUN apt-get install -y wget | |
# Install Wine | |
RUN apt-get install -y software-properties-common gnupg2 | |
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key | |
RUN apt-key add winehq.key |
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
FROM ubuntu:18.04 | |
# Install wget | |
RUN apt-get update | |
RUN apt-get install -y wget | |
# Add 32-bit architecture | |
RUN dpkg --add-architecture i386 | |
RUN apt-get update |
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
FROM i386/alpine:3.10.2 | |
# Wine 32Bit for running EXE | |
RUN apk add --no-cache wine=3.0.4-r1 freetype=2.10.0-r0 | |
# Configure Wine | |
RUN winecfg | |
# Install wget | |
RUN apk add --no-cache wget=1.20.3-r0 |
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
FROM i386/alpine:3.10.2 | |
# Wine 32Bit for running EXE | |
RUN apk add --no-cache wine=3.0.4-r1 freetype=2.10.0-r0 | |
# Configure Wine | |
RUN winecfg |
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
FROM i386/alpine:3.10.2 | |
# Wine 32Bit for running EXE | |
RUN apk add --no-cache wine=3.0.4-r1 freetype=2.10.0-r0 | |
# Configure Wine | |
RUN winecfg | |
# Install wget | |
RUN apk add --no-cache wget=1.20.3-r0 |
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
FROM i386/alpine:3.10.2 | |
# Wine 32Bit for running EXE | |
RUN apk add --no-cache wine=3.0.4-r1 freetype=2.10.0-r0 | |
# Configure Wine | |
RUN winecfg | |
# Install wget | |
RUN apk add --no-cache wget=1.20.3-r0 |
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
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.StandardCopyOption; | |
import java.util.Map; | |
import java.util.List; | |
public class Photos { | |
private final Path source; |
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
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.StandardCopyOption; | |
import java.util.Map; | |
import java.util.List; | |
public class Photos { | |
private final Path source; |