Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-8.12.x' into candidate…
Browse files Browse the repository at this point in the history
…-8.12.0

Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Jan 24, 2023
2 parents 46123ba + 348e1b8 commit eb132ed
Show file tree
Hide file tree
Showing 46 changed files with 1,050 additions and 423 deletions.
90 changes: 55 additions & 35 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,49 @@ jobs:
runs-on: ubuntu-22.04
permissions:
contents: write
outputs:
mount_platform: ${{ steps.vars.outputs.mount_platform }}
mount_ln: ${{ steps.vars.outputs.mount_ln }}
community_ref: ${{ steps.vars.outputs.community_ref }}
internal_ref: ${{ steps.vars.outputs.internal_ref }}
community_tag: ${{ steps.vars.outputs.community_tag }}
internal_tag: ${{ steps.vars.outputs.internal_tag }}
cmake_options: ${{ steps.vars.outputs.cmake_options }}
steps:
- name: Calculate vars
id: vars
run: |
echo 'mount_platform=source="${{ github.workspace }}",target=/hpcc-dev/HPCC-Platform,type=bind,consistency=cached' >> $GITHUB_OUTPUT
echo 'mount_ln=source="${{ github.workspace }}/LN",target=/hpcc-dev/LN,type=bind,consistency=cached' >> $GITHUB_OUTPUT
community_ref=${{ github.ref }}
echo "community_ref=$community_ref" >> $GITHUB_OUTPUT
echo "internal_ref=$(echo $community_ref | sed 's/community/internal/')" >> $GITHUB_OUTPUT
community_tag=$(echo $community_ref | cut -d'/' -f3)
echo "community_tag=$community_tag" >> $GITHUB_OUTPUT
echo "internal_tag=$(echo $community_tag | sed 's/community/internal/')" >> $GITHUB_OUTPUT
echo "cmake_options=-DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_FILES_DIR=/hpcc-dev -DCPACK_THREADS=0 -DUSE_OPTIONAL=OFF" >> $GITHUB_OUTPUT
- name: Print vars
run: |
echo "${{ toJSON(steps.vars.outputs) }})"
- name: Release HPCC-Platform
uses: ncipollo/[email protected]
with:
generateReleaseNotes: true
allowUpdates: true
generateReleaseNotes: false
prerelease: ${{ contains(github.ref, '-rc') }}
- name: Release LN
uses: ncipollo/[email protected]
with:
owner: ${{ secrets.LNB_ACTOR }}
repo: LN
token: ${{ secrets.LNB_TOKEN }}
generateReleaseNotes: true
tag: ${{ steps.vars.outputs.internal_tag }}
allowUpdates: true
generateReleaseNotes: false
prerelease: ${{ contains(github.ref, '-rc') }}


build-platform:
name: Build Platform
needs: release
Expand Down Expand Up @@ -69,12 +96,13 @@ jobs:
- name: Calculate vars
id: vars
run: |
echo 'mount_platform=source="${{ github.workspace }}",target=/hpcc-dev/HPCC-Platform,type=bind,consistency=cached' >> $GITHUB_OUTPUT
echo 'mount_ln=source="${{ github.workspace }}/LN",target=/hpcc-dev/LN,type=bind,consistency=cached' >> $GITHUB_OUTPUT
echo "branch_name=$(echo ${{ github.ref }} | cut -d'/' -f3)" >> $GITHUB_OUTPUT
cd vcpkg
echo "vcpkg_sha_short=$(git rev-parse --short=8 HEAD)" >> $GITHUB_OUTPUT
echo "cmake_options=-DCMAKE_BUILD_TYPE=RelWithDebInfo -DVCPKG_FILES_DIR=/hpcc-dev -DCPACK_THREADS=0 -DUSE_OPTIONAL=OFF" >> $GITHUB_OUTPUT
- name: Print vars
run: |
echo "${{ toJSON(needs.release.outputs) }})"
echo "${{ toJSON(steps.vars.outputs) }})"
- name: Set up Docker Buildx
id: buildx
Expand All @@ -94,10 +122,10 @@ jobs:
context: dockerfiles/vcpkg
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ steps.vars.outputs.branch_name }}
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ needs.release.outputs.community_tag }}
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:latest
cache-from: |
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ steps.vars.outputs.branch_name }}
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ needs.release.outputs.community_tag }}
${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:latest
build-args: |
VCPKG_REF=${{ steps.vars.outputs.vcpkg_sha_short }}
Expand All @@ -110,23 +138,23 @@ jobs:
for plugin in "${plugins[@]}"; do
sudo rm -f ./build/CMakeCache.txt
sudo rm -rf ./build/CMakeFiles
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ steps.vars.outputs.branch_name }}
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ steps.vars.outputs.cmake_options }} -D$plugin=ON -DCONTAINERIZED=OFF -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ steps.vars.outputs.cmake_options }} -D$plugin=ON -DCONTAINERIZED=OFF -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ needs.release.outputs.community_tag }}
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ needs.release.outputs.cmake_options }} -D$plugin=ON -DCONTAINERIZED=OFF -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ needs.release.outputs.cmake_options }} -D$plugin=ON -DCONTAINERIZED=OFF -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
done
- name: CMake Containerized Packages
if: ${{ matrix.container }}
run: |
sudo rm -f ./build/CMakeCache.txt
sudo rm -rf ./build/CMakeFiles
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ steps.vars.outputs.branch_name }}
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ steps.vars.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=ON -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ steps.vars.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=ON -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ needs.release.outputs.community_tag }}
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ needs.release.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=ON -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake -S /hpcc-dev/HPCC-Platform -B /hpcc-dev/HPCC-Platform/build ${{ needs.release.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=ON -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
- name: Upload Assets
uses: ncipollo/[email protected]
Expand All @@ -140,7 +168,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/LN
ref: ${{ github.ref }}
ref: ${{ needs.release.outputs.internal_ref }}
path: ${{ github.workspace }}/LN
token: ${{ secrets.LNB_TOKEN }}

Expand All @@ -149,11 +177,11 @@ jobs:
run: |
sudo rm -f ./build/CMakeCache.txt
sudo rm -rf ./build/CMakeFiles
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ steps.vars.outputs.branch_name }}
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} --mount ${{ steps.vars.outputs.mount_ln }} $docker_label "cmake -S /hpcc-dev/LN -B /hpcc-dev/HPCC-Platform/build -DHPCC_SOURCE_DIR=/hpcc-dev/HPCC-Platform ${{ steps.vars.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=OFF -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} --mount ${{ steps.vars.outputs.mount_ln }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} --mount ${{ steps.vars.outputs.mount_ln }} $docker_label "cmake -S /hpcc-dev/LN -B /hpcc-dev/HPCC-Platform/build -DHPCC_SOURCE_DIR=/hpcc-dev/HPCC-Platform ${{ steps.vars.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=OFF -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ steps.vars.outputs.mount_platform }} --mount ${{ steps.vars.outputs.mount_ln }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker_label=${{ secrets.DOCKER_USERNAME }}/build-${{ matrix.os }}:${{ needs.release.outputs.community_tag }}
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} --mount ${{ needs.release.outputs.mount_ln }} $docker_label "cmake -S /hpcc-dev/LN -B /hpcc-dev/HPCC-Platform/build -DHPCC_SOURCE_DIR=/hpcc-dev/HPCC-Platform ${{ needs.release.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=OFF -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=OFF"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} --mount ${{ needs.release.outputs.mount_ln }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} --mount ${{ needs.release.outputs.mount_ln }} $docker_label "cmake -S /hpcc-dev/LN -B /hpcc-dev/HPCC-Platform/build -DHPCC_SOURCE_DIR=/hpcc-dev/HPCC-Platform ${{ needs.release.outputs.cmake_options }} -DINCLUDE_PLUGINS=ON -DCONTAINERIZED=OFF -DSUPPRESS_REMBED=ON -DSUPPRESS_V8EMBED=ON -DSUPPRESS_SPARK=ON -DCPACK_STRIP_FILES=ON"
docker run --rm --mount ${{ needs.release.outputs.mount_platform }} --mount ${{ needs.release.outputs.mount_ln }} $docker_label "cmake --build /hpcc-dev/HPCC-Platform/build --parallel $(nproc) --target package"
- name: Upload LN Assets
if: ${{ matrix.ln }}
Expand Down Expand Up @@ -201,18 +229,10 @@ jobs:
echo ${{ matrix.os }} ${{ matrix.triplet }}
echo "Checkout to $Env:GITHUB_WORKSPACE"
- name: Calculate vars
id: vars
shell: "bash"
run: |
community_ref=${{ github.ref }}
echo "community_ref=$community_ref" >> $GITHUB_OUTPUT
echo "internal_ref=$(echo $community_ref | sed 's/community/internal/')" >> $GITHUB_OUTPUT
- name: Print vars
shell: "bash"
run: |
echo "${{ toJSON(steps.vars.outputs) }})"
echo "${{ toJSON(needs.release.outputs) }})"
- name: OSX Dependencies
if: ${{ contains(matrix.os, 'macos') }}
Expand Down Expand Up @@ -268,7 +288,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: ${{ github.repository_owner }}/LN
ref: ${{ steps.vars.outputs.internal_ref }}
ref: ${{ needs.release.outputs.internal_ref }}
path: ${{ github.workspace }}/LN
token: ${{ secrets.LNB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-containers-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: vars
id: vars
run: |
echo ::set-output name=base_ver::8.6
echo ::set-output name=base_ver::2022.11.14-rc5
# echo ::set-output name=container_registry::ghcr.io
# echo ::set-output name=cr_user::${{ github.repository_owner }}
echo ::set-output name=container_registry::docker.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-containers-target-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: vars
id: vars
run: |
echo ::set-output name=base_ver::8.6
echo ::set-output name=base_ver::2022.11.14-rc5
# echo ::set-output name=container_registry::ghcr.io
# echo ::set-output name=cr_user::${{ github.repository_owner }}
echo ::set-output name=container_registry::docker.io
Expand Down
10 changes: 10 additions & 0 deletions dali/base/dadfs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,7 @@ protected: friend class CDistributedFile;
SecAccessFlags getFilePermissions(const char *lname,IUserDescriptor *user,unsigned auditflags);
SecAccessFlags getNodePermissions(const IpAddress &ip,IUserDescriptor *user,unsigned auditflags);
SecAccessFlags getFDescPermissions(IFileDescriptor *,IUserDescriptor *user,unsigned auditflags=0);
SecAccessFlags getDropZoneScopePermissions(const char *dropZoneName,const char *dropZonePath,IUserDescriptor *user,unsigned auditflags=0);
void setDefaultUser(IUserDescriptor *user);
IUserDescriptor* queryDefaultUser();

Expand Down Expand Up @@ -11828,6 +11829,15 @@ SecAccessFlags CDistributedFileDirectory::getFDescPermissions(IFileDescriptor *f
return retPerms;
}

SecAccessFlags CDistributedFileDirectory::getDropZoneScopePermissions(const char *dropZoneName,const char *dropZonePath,IUserDescriptor *user,unsigned auditflags)
{
CDfsLogicalFileName dlfn;
dlfn.setPlaneExternal(dropZoneName,dropZonePath);
StringBuffer scopes;
dlfn.getScopes(scopes);
return getScopePermissions(scopes,user,auditflags);
}

void CDistributedFileDirectory::setDefaultUser(IUserDescriptor *user)
{
if (user)
Expand Down
1 change: 1 addition & 0 deletions dali/base/dadfs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ interface IDistributedFileDirectory: extends IInterface
virtual IUserDescriptor* queryDefaultUser()=0;
virtual SecAccessFlags getNodePermissions(const IpAddress &ip,IUserDescriptor *user,unsigned auditflags=0)=0;
virtual SecAccessFlags getFDescPermissions(IFileDescriptor *,IUserDescriptor *user,unsigned auditflags=0)=0;
virtual SecAccessFlags getDropZoneScopePermissions(const char *dropZoneName,const char *dropZonePath,IUserDescriptor *user,unsigned auditflags=0)=0;

virtual DistributedFileCompareResult fileCompare(const char *lfn1,const char *lfn2,DistributedFileCompareMode mode,StringBuffer &errstr,IUserDescriptor *user)=0;
virtual bool filePhysicalVerify(const char *lfn1,IUserDescriptor *user,bool includecrc,StringBuffer &errstr)=0;
Expand Down
39 changes: 24 additions & 15 deletions dali/base/dautils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,20 @@
#define SDS_CONNECT_TIMEOUT (1000*60*60*2) // better than infinite
#define MIN_REDIRECTION_LOAD_INTERVAL 1000

static IPropertyTree *getPlaneHostGroup(IPropertyTree *plane)
{
if (plane->hasProp("@hostGroup"))
return getHostGroup(plane->queryProp("@hostGroup"), true);
else if (plane->hasProp("hosts"))
return LINK(plane); // plane itself holds 'hosts'
return nullptr;
}

bool isHostInPlane(IPropertyTree *plane, const char *host, bool ipMatch)
{
Owned<IPropertyTree> planeGroup;
if (plane->hasProp("@hostGroup"))
planeGroup.setown(getHostGroup(plane->queryProp("@hostGroup"), true));
else
{
if (!plane->hasProp("hosts"))
return false;
planeGroup.set(plane); // plane itself holds 'hosts'
}
Owned<IPropertyTree> planeGroup = getPlaneHostGroup(plane);
if (!planeGroup)
return false;
Owned<IPropertyTreeIterator> hostsIter = planeGroup->getElements("hosts");
SocketEndpoint hostEp;
if (ipMatch)
Expand All @@ -79,12 +81,8 @@ bool isHostInPlane(IPropertyTree *plane, const char *host, bool ipMatch)

bool getPlaneHost(StringBuffer &host, IPropertyTree *plane, unsigned which)
{
Owned<IPropertyTree> hostGroup;
if (plane->hasProp("@hostGroup"))
hostGroup.setown(getHostGroup(plane->queryProp("@hostGroup"), true));
else if (plane->hasProp("hosts"))
hostGroup.set(plane); // the plane holds the "hosts"
else
Owned<IPropertyTree> hostGroup = getPlaneHostGroup(plane);
if (!hostGroup)
return false;

if (which >= hostGroup->getCount("hosts"))
Expand All @@ -94,6 +92,17 @@ bool getPlaneHost(StringBuffer &host, IPropertyTree *plane, unsigned which)
return true;
}

void getPlaneHosts(StringArray &hosts, IPropertyTree *plane)
{
Owned<IPropertyTree> hostGroup = getPlaneHostGroup(plane);
if (hostGroup)
{
Owned<IPropertyTreeIterator> hostsIter = hostGroup->getElements("hosts");
ForEach (*hostsIter)
hosts.append(hostsIter->query().queryProp(nullptr));
}
}

constexpr const char * lz_plane_path = "storage/planes[@category='lz']";

IPropertyTreeIterator * getDropZonePlanesIterator(const char * name)
Expand Down
1 change: 1 addition & 0 deletions dali/base/dautils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ extern da_decl IPropertyTree * getDropZonePlane(const char * name);
extern da_decl IPropertyTree * findDropZonePlane(const char * path, const char * host, bool ipMatch);
extern da_decl bool isHostInPlane(IPropertyTree *plane, const char *host, bool ipMatch);
extern da_decl bool getPlaneHost(StringBuffer &host, IPropertyTree *plane, unsigned which);
extern da_decl void getPlaneHosts(StringArray &hosts, IPropertyTree *plane);
extern da_decl void setPageCacheTimeoutMilliSeconds(unsigned timeoutSeconds);
extern da_decl void setMaxPageCacheItems(unsigned _maxPageCacheItems);
extern da_decl IRemoteConnection* connectXPathOrFile(const char* path, bool safe, StringBuffer& xpath);
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/buildall-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Build script to create and publish Docker containers corresponding to a GitHub tag
# This script is normally invoked via GitHub actions, whenever a new tag is pushed

BASE_VER=8.6 # The docker hub label for the platform-build-base image. Changes rarely.
BASE_VER=2022.11.14-rc5 # The docker hub label for the platform-build-base image. Changes rarely.
BUILD_TAG=$(git describe --exact-match --tags || true) # The git tag for the images we are building
BUILD_LABEL=${BUILD_TAG} # The docker hub label for all other components
BUILD_USER=hpcc-systems # The github repo owner
Expand Down
2 changes: 2 additions & 0 deletions dockerfiles/platform-build-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

# Build container image containing all 3rd-party tools required to build HPCC platform

# DEPRECATED --- DEPRECATED --- DEPRECATED

FROM ubuntu:20.04 as build
ENV DEBIAN_FRONTEND=noninteractive
ARG BASE_VER
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/platform-build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Base container image that builds all HPCC platform components

ARG BASE_VER=8.12-rc2
ARG BASE_VER=2022.11.14-rc5
ARG CR_USER=hpccsystems
ARG CR_REPO=docker.io
ARG CR_CONTAINER_NAME=platform-build-base
Expand All @@ -38,7 +38,7 @@ RUN apt-get install -y dirmngr gnupg apt-transport-https ca-certificates softwar
lsb-release \
jq

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

RUN groupadd -g 10001 hpcc
RUN useradd -s /bin/bash -r -m -N -c "hpcc runtime User" -u 10000 -g hpcc hpcc
Expand Down
Loading

0 comments on commit eb132ed

Please sign in to comment.