Skip to content

Commit

Permalink
fix build permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Nov 10, 2024
1 parent fc7c393 commit 517866a
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion server/src/modules/templates/buildpacks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
automountServiceAccountToken: true
securityContext:
fsGroup: 1001
fsGroup: 1000
containers:
- name: deploy
env:
Expand Down Expand Up @@ -75,6 +75,19 @@ spec:
- mountPath: /app
name: app-storage
workingDir: /app
- command:
- sh
- -c
- chmod -R g+w /app
image: busybox:latest
imagePullPolicy: IfNotPresent
name: permissions
securityContext:
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /app
name: app-storage
workingDir: /app
- name: build
args:
- '-app=.'
Expand Down

0 comments on commit 517866a

Please sign in to comment.