Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile.work
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ endif
ifeq ($(BLDENV), stretch)
SLAVE_DIR = sonic-slave-stretch
else
SLAVE_DIR = sonic-slave
SLAVE_DIR = sonic-slave-jessie
endif
SLAVE_BASE_TAG = $(shell CONFIGURED_ARCH=$(CONFIGURED_ARCH) j2 $(SLAVE_DIR)/Dockerfile.j2 > $(SLAVE_DIR)/Dockerfile && sha1sum $(SLAVE_DIR)/Dockerfile | awk '{print substr($$1,0,11);}')
SLAVE_TAG = $(shell cat $(SLAVE_DIR)/Dockerfile.user $(SLAVE_DIR)/Dockerfile | sha1sum | awk '{print substr($$1,0,11);}')
SLAVE_BASE_IMAGE = $(SLAVE_DIR)-base
SLAVE_BASE_IMAGE = $(SLAVE_DIR)
SLAVE_IMAGE = $(SLAVE_BASE_IMAGE)-$(USER)

OVERLAY_MODULE_CHECK := \
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG slave_base_tag_ref=latest
FROM sonic-slave-base:${slave_base_tag_ref}
FROM sonic-slave-jessie:${slave_base_tag_ref}

# Add user
ARG user
Expand Down
2 changes: 1 addition & 1 deletion sonic-slave-stretch/Dockerfile.user
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG slave_base_tag_ref=latest
FROM sonic-slave-stretch-base:${slave_base_tag_ref}
FROM sonic-slave-stretch:${slave_base_tag_ref}

# Add user
ARG user
Expand Down