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 org.sonatype.nexus.repository.storage.Asset | |
import org.sonatype.nexus.repository.storage.Component | |
import org.sonatype.nexus.repository.storage.Query | |
import org.sonatype.nexus.repository.storage.StorageFacet | |
// https://gist.github.com/kellyrob99/2d1483828c5de0e41732327ded3ab224 | |
// https://gist.github.com/emexelem/bcf6b504d81ea9019ad4ab2369006e66 | |
final SNAPSHOT_SUFFIX = "-SNAPSHOT" | |
final REPOSITORY = "docker" |
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:xenial | |
RUN apt-get clean && apt-get update && apt-get install -y locales && locale-gen en_US.UTF-8 && rm -rf /var/lib/apt/lists/* | |
ENV USERNAME=docker | |
ENV DEVEL_HOME="/home/${USERNAME}/develop" | |
ENV ANDROID_HOME="${DEVEL_HOME}/android/sdk" | |
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' \ | |
PATH="${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools:$PATH" \ | |
SUBMIT_ANDROID_TO_GOOGLE_PLAY=false ANDROID_BUILD_FOR_RELEASE=true SUPPLY_TRACK=beta |