-
-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM jetbrains/teamcity-minimal-agent:latest | ||
|
||
# This is important for using apt-get | ||
USER root | ||
|
||
# Default build configuration | ||
ENV AS_BUILDAGENT=0 \ | ||
BUILD_ARCHITECTURE=x86 \ | ||
BUILD_CONFIG=release | ||
|
||
# Install build-time dependencies | ||
RUN dpkg --add-architecture i386 && apt-get update && \ | ||
apt-get install -y software-properties-common wget ca-certificates git build-essential \ | ||
gcc-multilib g++-multilib gcc-10-multilib g++-10-multilib curl subversion ncftp \ | ||
libncurses-dev:i386 libncursesw5:i386 libmysqlclient-dev:i386 | ||
|
||
# Set build directory | ||
VOLUME /build | ||
WORKDIR /build | ||
|
||
# Copy entrypoint script | ||
COPY utils/docker-entrypoint.sh /docker-entrypoint.sh | ||
|
||
# Add GLIB compat | ||
COPY utils/compat /compat | ||
|
||
# Set entrypoint | ||
ENTRYPOINT bash /docker-entrypoint.sh |
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
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