Posts

Showing posts from April 11, 2019

docker container with user created, where on host

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box; 0 I have a dockerfile with a user created so it is not running as root(best pratice) FROM microsoft/dotnet:sdk AS build-env WORKDIR /app # Copy csproj and restore as distinct layers COPY *.csproj ./ RUN dotnet restore # Copy everything else and build COPY . ./ RUN dotnet publish -c Release -o out # Build runtime image FROM microsoft/dotnet:aspnetcore-runtime RUN groupadd -g 1001 appuser && useradd -r -u 1001 -g appuser appuser USER appuser WORKDIR /app COPY --from=build-env /app/out . ENTRYPOINT ["dotnet", "ConsoleApp32.dll"] I build the image and run the container: docker build -f Dockerfile1 -t myappimage . docker run -d --name myapp myappimage And then check it running: ps aux | grep dotnet 21569 1001 0:00 dotnet ConsoleApp32.dll So running as uid 1001. I then check host for this...

Azure Piplines Configuration for Xcode Managed Profile Setup - Possible? Documented?

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box; 2 Environment Server - Azure Pipelines Hosted MacOS agent Issue Description I'm using the following configuration in my Xcode project (w automatic code signing): Is it possible to have Pipelines build and sign a project using this configuration if I've manually installed all of the provisioning profiles and certs in my pipeline prior to building? Is there any documentation for this scenario or a how-to guide? Alternatively, if this is not possible perhaps a definitive statement on this and advice on what to try next in order to work. For instance - do I need to convert this project from an automatically signed one to a manual one? I'm using the following page which mentions automatic signing but doesn't give any instructions on how to configure (but does mention this as an option): https://docs...