Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
BarDweller committed Apr 29, 2024
1 parent 56c1565 commit 593d84c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class LifecyclePhaseFactory {
public final static String DOCKER_SOCKET_PATH = "/var/run/docker.sock";

public final static String APP_PATH_PREFIX = ""; //previously /content to avoid permissions, should not be issue with extended builder.
public final static String ENV_PATH_PREFIX = "/env";
public final static String ENV_PATH_PREFIX = "";

private final DockerConfig dockerConfig;
private final CacheConfig buildCacheConfig;
Expand Down Expand Up @@ -189,7 +189,7 @@ public void createVolumes(List<Content> content){
//add the environment entries to the platform volume.
List<ContainerEntry> envEntries = platformConfig.getEnvironment().entrySet()
.stream()
.flatMap(e -> new StringContent(e.getKey(), 0777, e.getValue()).getContainerEntries().stream())
.flatMap(e -> new StringContent("env/"+e.getKey(), 0777, e.getValue()).getContainerEntries().stream())
.collect(Collectors.toList());

log.info("Adding platform entries to platform volume "+platformVolume);
Expand Down

0 comments on commit 593d84c

Please sign in to comment.