This commit is contained in:
@@ -5,24 +5,7 @@ ENV TIME_ZONE=Amsterdam/Europe
|
||||
|
||||
WORKDIR /defold
|
||||
|
||||
# Get OS Architecture & Platform
|
||||
RUN os_arch=$(uname -m | awk '{print tolower($0)}')
|
||||
RUN os_platform=$(uname -s | awk '{print tolower($0)}')
|
||||
COPY ./setup.sh /defold/setup.sh
|
||||
RUN chmod +x /defold/setup.sh
|
||||
RUN /defold/setup.sh
|
||||
|
||||
# Update APT registry
|
||||
RUN apt-get update -y
|
||||
|
||||
# Install build tools
|
||||
RUN apt-get install -y jq curl unzip
|
||||
|
||||
# Install Java Development Kit
|
||||
RUN apt-get install -y openjdk-17-jdk openjdk-17-jre
|
||||
RUN java --version
|
||||
|
||||
# Get latest stable Defold version and SHA1
|
||||
RUN stable_info=$(curl http://d.defold.com/stable/info.json -s)
|
||||
RUN version=$(echo $stable_info | jq -r '.version')
|
||||
RUN hash=$(echo $stable_info | jq -r '.sha1')
|
||||
|
||||
# Download bob.jar
|
||||
RUN curl -L -o bob.jar https://github.com/defold/defold/releases/download/$version/bob.jar -s
|
Reference in New Issue
Block a user